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

Cleanup and upgrade unit tests environment #3986

Merged
merged 1 commit into from
Mar 4, 2017

Conversation

simonbrunel
Copy link
Member

@simonbrunel simonbrunel commented Mar 4, 2017

karma.conf.ci.js has been merged into karma.conf.js for local testing consistency: gulp unittestWatch has been replaced by gulp unittest --watch and thus use exactly the same config file. Upgrade to latest jasmine and karma packages and remove deprecated gulp-karma dependency (directly use karma.Server in gulp).

Split test/mockContext.js into smaller test/jasmine.* modules to make easier unit tests maintenance and finally, move all *.test.js files under the test/specs folder.

@simonbrunel simonbrunel added this to the Version 2.6 milestone Mar 4, 2017
@simonbrunel simonbrunel requested a review from etimberg March 4, 2017 13:06
@simonbrunel simonbrunel force-pushed the unittest_cleanup branch 2 times, most recently from 771367f to cd30f72 Compare March 4, 2017 14:09
Copy link
Member

@etimberg etimberg left a comment

Choose a reason for hiding this comment

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

Looks good

`karma.conf.ci.js` has been merged into `karma.conf.js` for local testing consistency: `gulp unittestWatch` has been replaced by `gulp unittest --watch` and thus use exactly the same config file. Upgrade to latest jasmine and karma packages and remove deprecated `gulp-karma` dependency (directly use `karma.Server` in gulp).

Split `test/mockContext.js` into smaller `test/jasmine.*` modules to make easier unit tests maintenance and finally, move all `*.test.js` files under the `test/specs` folder.
@etimberg etimberg merged commit c216c0a into chartjs:master Mar 4, 2017
@simonbrunel simonbrunel deleted the unittest_cleanup branch March 5, 2017 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants