Skip to content

Commit ebd8045

Browse files
Jack ZhaoTimer
Jack Zhao
authored andcommittedSep 26, 2018
Remove babelrc dependency for kitchensink test (facebook#5098)
* add kitchensink-eject to local-test * add jest transform Closes facebook#5095
1 parent bfa1433 commit ebd8045

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
module.exports = {
22
testEnvironment: 'node',
33
testMatch: ['**/integration/*.test.js'],
4+
transform: { '^.+\\.js$': './jest.transform.js' },
45
};
+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
const babelOptions = { presets: ['react-app'] };
2+
3+
module.exports = require('babel-jest').createTransformer(babelOptions);

0 commit comments

Comments
 (0)
Please sign in to comment.