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

compat - Update code style, partially use new qunit interface, give test module a new name #2572

Closed
wants to merge 8 commits into from

Conversation

markelog
Copy link
Member

@markelog markelog commented Sep 3, 2015

Same as #2542 to compat branch

Also incorporates #2504 and cherry-picks 63a577a. References to master commits will be added when pr to master will be landed.

ajax tests added selectively from master branch, should be all included, but it would be cool if someone would verify it.

mgol and others added 5 commits August 16, 2015 22:28
Attaching test divs to document.documentElement instead of document.body
used to cause issues in jQuery 1.x; jQuery Compat doesn't execute any tests
on document ready, though so it could be aligned with master.

This makes jQuery Compat support tests work correctly even if jQuery is
included & used in head before body even exists - making it similar to
the master behavior.

Fixes jquerygh-2502
markelog and others added 3 commits September 3, 2015 16:26
http://qunitjs.com/upgrade-guide-2.x/

For most of the boring work was used
https://github.com/apsdehal/qunit-migrate package

However, it can't update local qunit helpers, plus in some places
old QUnit.asyncTest signature is still used

Fixes jquerygh-2540
@markelog
Copy link
Member Author

markelog commented Sep 3, 2015

@timmywil, @mzgol i'm gonna land this then, since we need this for the other prs

@mgol
Copy link
Member

mgol commented Sep 3, 2015

@timmywil, @mzgol i'm gonna land this then, since we need this for the other prs

Yeah, it's hard to review such a big thing quickly and since it's an analogous of the master version that we already looked at, feel free to land. :) Any issues that pop up can be addressed later, let's get this monster merged!

@timmywil
Copy link
Member

timmywil commented Sep 3, 2015

i'm gonna land this then, since we need this for the other prs

👍

@markelog
Copy link
Member Author

markelog commented Sep 7, 2015

Landed via 3923bb8...cbb0be6

@markelog markelog closed this Sep 7, 2015
@lock lock bot locked as resolved and limited conversation to collaborators Jan 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants