Skip to content
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

Avoid mainloop pollution #21

Open
ptomato opened this issue Aug 11, 2017 · 0 comments
Open

Avoid mainloop pollution #21

ptomato opened this issue Aug 11, 2017 · 0 comments

Comments

@ptomato
Copy link
Owner

ptomato commented Aug 11, 2017

The problem is that earlier tests can schedule a timeout on the mainloop, and when later tests would advance the mainloop unexpected events would be triggered.

Would be nice to ensure that each it runs in its own mainloop or in some other way assure the mainloop is flushed after each test. Tricky because jasmine uses setTimeout internally, which we implement using none other than glib's mainloop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant