Skip to content

Conversation

@markelog
Copy link
Member

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 qunit helpers, plus in some places deprecated QUnit.asyncTest method 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.

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 markelog force-pushed the build branch 3 times, most recently from 9679cb2 to 69bee9c Compare August 16, 2015 07:31
@mgol
Copy link
Member

mgol commented Aug 16, 2015

I'm against the "cache node_modules" part, see #2541 (comment).

Copy link
Member

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.

Copy link
Member Author

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 :-)

Copy link
Member

Choose a reason for hiding this comment

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

Fair enough. :)

@mgol
Copy link
Member

mgol commented Aug 16, 2015

Overall, a good job!

Copy link
Member

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?

Copy link
Member Author

Choose a reason for hiding this comment

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

yes and yes

@markelog markelog changed the title Update code style, partially use new qunit interface, give test module a new name, cache node_modules in CI Update code style, partially use new qunit interface, give test module a new name Sep 2, 2015
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.

Update jscs to 1.11

5 participants