Skip to content

Commit

Permalink
chore: fix issues with nyc and mocha (#145)
Browse files Browse the repository at this point in the history
This fixes 2 issues, both of which are vaguely related to babel
transpiling during tests:

 * The new mocha version uses the `--require` flag instead of
   `--compilers`.
 * nyc 12.0.0 causes mysterious "Transformation errors" with transpiling
   during tests.

This PR addresses the first issue by switching the flag as required.
This PR addresses the second issue by downgrading nyc, as v11 is the
last release which supports node v4.

Fixes #144
  • Loading branch information
nfischer committed Jul 10, 2018
1 parent 22352d2 commit 7214b24
Show file tree
Hide file tree
Showing 3 changed files with 1,621 additions and 956 deletions.

0 comments on commit 7214b24

Please sign in to comment.