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

QUnit.load is now called inside QUnit.start #1083

Merged
merged 2 commits into from
Dec 14, 2016
Merged

Conversation

leobalter
Copy link
Member

Only in non-browser environments, avoiding breaking changes.

Closes gh-1081

Fixes gh-1081

Before this patch, calling QUnit.load() (before or after QUnit.start)
to run the test suite in non-browser environments.
} else if ( !defined.document && !config.pageLoaded ) {

// Starts from Node even if .load was not previously called
QUnit.load();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm assuming we'll refactor this later due to #1084.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, it's not beautiful but it's a fix for now.

@leobalter leobalter merged commit c65800b into master Dec 14, 2016
@leobalter leobalter deleted the 1081-load-start branch December 14, 2016 03:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants