-
Notifications
You must be signed in to change notification settings - Fork 20.5k
Update code style, partially use new qunit interface, give test module a new name #2542
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
Conversation
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
9679cb2 to
69bee9c
Compare
|
I'm against the "cache node_modules" part, see #2541 (comment). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are the parens still needed? I think it's no longer required by JSHint.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't know, but that is not a subject of this PR, too much already is squashed in there :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair enough. :)
|
Overall, a good job! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How does the dropdown from the screenshot at #2437 look like now? Is the double event entry changed to event & ready? Does choosing ready work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes and yes
node_modules in CI
Fixes gh-2056, gh-2437, gh-2540, gh-2571
On gh-2540
See 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
qunithelpers, plus in some places deprecatedQUnit.asyncTestmethod is still used.Some of these changes strongly depend on each other, others are also fixed, since i touched relevant files, so i decided to put them in one pull, i hope that is okay.