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

[FEAT] Prevent async test leakage (feat. adds test waiters) #5422

Merged
merged 1 commit into from Apr 5, 2018

Conversation

runspired
Copy link
Contributor

@runspired runspired commented Apr 5, 2018

  • add waiter for custom backburner
  • enable test isolation available in ember-qunit
  • add waiter for ajax
  • bump ember-qunit and fix blueprints to account

cc @locks because this should enable the learning team to clean up some things since more stuff is waited on by-default.

@runspired runspired requested review from locks and bmac April 5, 2018 20:09
@runspired runspired changed the title [WIP] Prevent async test leakage Prevent async test leakage Apr 5, 2018
@runspired runspired changed the title Prevent async test leakage [FEAT] Prevent async test leakage (feat. adds test waiters) Apr 5, 2018
@runspired runspired requested a review from rwjblue April 5, 2018 21:47
bump qunit

register a waiter and use a global backburner instance

add test waiter for network requests

cleanup leaky tests

fix blueprints to account for ember-qunit update

delete record does not have a return value
@rwjblue
Copy link
Member

rwjblue commented Apr 5, 2018

This looks good to me, but I do think we should work to remove a lot of this manual run-wrapping. It seems fairly archaic and likely covers some things up....

@runspired
Copy link
Contributor Author

@rwjblue this will allow me to land #5415 which does just that with much more confidence

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

Successfully merging this pull request may close these issues.

None yet

2 participants