moduleFileExtensions extensions is now passed to babel-jest#5110
moduleFileExtensions extensions is now passed to babel-jest#5110cpojer merged 6 commits intojestjs:masterfrom
Conversation
|
Can you add a test showing what it enables? And please update the changelog as well |
CHANGELOG: moduleFileExtensions now passed to babel transformer
| @@ -0,0 +1,550 @@ | |||
| # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. | |||
| @@ -0,0 +1,14 @@ | |||
| { | |||
| "dependencies": { | |||
| "babel-preset-env": "^1.6.1" | |||
There was a problem hiding this comment.
we have a dependency on babel-preset-env in the root already, so this is not needed https://github.com/facebook/jest/blob/1521c516c2cae8f4bfe41605640f273f9c17fb87/package.json#L18
| }); | ||
|
|
||
| describe('ecmascript-modules-support', () => { | ||
| skipOnWindows.suite(); |
There was a problem hiding this comment.
do we have to skip it on windows?
Codecov Report
@@ Coverage Diff @@
## master #5110 +/- ##
======================================
Coverage 60.7% 60.7%
======================================
Files 201 201
Lines 6691 6691
Branches 4 4
======================================
Hits 4062 4062
Misses 2628 2628
Partials 1 1Continue to review full report at Codecov.
|
| @@ -0,0 +1,549 @@ | |||
| # yarn lockfile v1 | |||
There was a problem hiding this comment.
I meant delete this whole file, not the first line in particular 🙂
SimenB
left a comment
There was a problem hiding this comment.
Great! Could you add a line to the changelog as well, and I think this is good to go!
|
Under which version? |
|
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Fix for issue #4637.
Transform extensions hardcoded in babel-core 6. Pull request make
moduleFileExtensionsoption to be passed to babel-core as `altExts'.