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

chore: fix issues with nyc and mocha #145

Merged
merged 2 commits into from Jul 10, 2018
Merged

Conversation

nfischer
Copy link
Member

@nfischer nfischer commented Jul 5, 2018

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

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 it's not clear
if nyc or our project is the real culprit.

Fixes #144
@codecov-io
Copy link

codecov-io commented Jul 5, 2018

Codecov Report

Merging #145 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #145   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           4      4           
  Lines          75     75           
=====================================
  Hits           75     75

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 22352d2...6659373. Read the comment docs.

Copy link
Contributor

@freitagbr freitagbr left a comment

Choose a reason for hiding this comment

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

LGTM

@nfischer nfischer merged commit 7214b24 into master Jul 10, 2018
@nfischer nfischer deleted the chore-fix-bad-nyc-mocha branch July 10, 2018 07:34
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.

Mocha and babel compiler warnings
3 participants