Eject .babelrc instead of separate configs (#705)

Fixes #410, #674
This commit is contained in:
Dan Abramov
2016-09-23 00:33:14 +01:00
committed by GitHub
parent 5bf14f3d18
commit ba34b0b79b
10 changed files with 39 additions and 58 deletions

View File

@@ -24,7 +24,8 @@ if (!process.env.CI) {
argv.push('--config', JSON.stringify(createJestConfig(
relativePath => path.resolve(__dirname, '..', relativePath),
path.resolve(paths.appSrc, '..')
path.resolve(paths.appSrc, '..'),
false
)));
jest.run(argv);