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

Race Conditions #11

Open
stefanpenner opened this issue Jul 1, 2016 · 6 comments
Open

Race Conditions #11

stefanpenner opened this issue Jul 1, 2016 · 6 comments

Comments

@stefanpenner
Copy link

stefanpenner commented Jul 1, 2016

Solution is most likely to do the following:

  • disable QUnit autostart
  • onload:
    • attach logger
    • manually start tests via QUnit.start()

@trentmwillis thoughts on the QUnit side? If you have a better idea for coordinating the runner + qunit boot.

@trentmwillis
Copy link

From my cursory glance, it seems like disabling autostart is the best way to go. Lots of async setup going on it seems.

@stefanpenner
Copy link
Author

@trentmwillis is there a way to set that configurable before QUnit is loaded?

@trentmwillis
Copy link

Unfortunately no, at least no way that I am aware of.

@stefanpenner
Copy link
Author

stefanpenner commented Jul 11, 2016

@trentmwillis any apposition to me submitting a PR for it?

@trentmwillis
Copy link

For pre-configuring QUnit? I'm not opposed, but we'd probably want to open it up for discussion with the rest of the team to determine an API

@stefanpenner
Copy link
Author

@trentmwillis maybe a meta tag? Ya, i'll try to open a discussion later this week.

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

2 participants