-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.x: BaseObserver.assertNothing #5693
Comments
Can't you use |
Not exactly, we want to check that nothing was emitted, no error and no complete were passed as well. |
Ah okay got it. Didn't see the |
It is called |
Great, thanks! I guess we learn something every day :-) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just want to piggyback on #5555.
assertOnlyValues
became very useful in our team, basically freeing us from writing multiple tests to check that the stream emitted values and, at the same time, did not produce errors or completion.assertNothing
should do pretty much the same thing asassertOnlyValues
being an alias to other checks.The text was updated successfully, but these errors were encountered: