-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
toObservable followed by toSatisfyOnFlush created double calls. #395
Comments
What I did was to put the
|
Hi! |
I came here for the same problem, I followed your suggestion @Blafasel3, but when inside the For instance, this fails as expected, but triggers the observable several times :
But this pass while it shouldn't:
I have other asserts in the |
@killergege Interesting, I'll take a look. |
Oh, I never actually tested that. Thanks for pointing that out! |
This test fails with call times actually 8 not 4. Even though it technically can be understandable, is is not intuitive when reading the test.
workaround is to separate this into 2 separate tests.
The text was updated successfully, but these errors were encountered: