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

Update testing infrastructure #34

Merged
merged 2 commits into from
Jul 26, 2017
Merged

Conversation

zurawiki
Copy link
Contributor

Use jest, a modern, more performant test framework
Move all test code into the test/ directory

@nieldlr

  - All tests go into the test/ directory
  - Moved unique tests from test.js into all.js
  - Use jest instead of an old version of mocha

Jest has a lot of nice eature including parallelization of tests, and
ES6+ support via Babel
@zurawiki zurawiki force-pushed the test-all-in-one branch 2 times, most recently from 2440e7c to 431d7ca Compare July 25, 2017 06:49
This allows jest to split up test runs.
We can now have one test file for each source file.

(cherry picked from commit 92b3084)
@nieldlr
Copy link
Owner

nieldlr commented Jul 26, 2017

Heya @zurawiki this is looking awesome! Thanks so much for this. Tested on my local as well and working smoothly.

I see you added a few more tests too. That's 🥇 !

Merging now.

@nieldlr nieldlr merged commit 0205dc8 into nieldlr:master Jul 26, 2017
@zurawiki zurawiki deleted the test-all-in-one branch September 23, 2017 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants