Skip to content

Commit

Permalink
Fix npm test on Windows (facebook#1647)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon authored and randycoulman committed May 8, 2017
1 parent 0ebff06 commit 44116db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-scripts/scripts/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const createJestConfig = require('../utils/createJestConfig');
const path = require('path');
const paths = require('../config/paths');
argv.push('--config', JSON.stringify(createJestConfig(
relativePath => path.posix.resolve(__dirname.replace(/[\\]+/g, path.posix.sep), '..', relativePath),
relativePath => path.resolve(__dirname, '..', relativePath),
path.resolve(paths.appSrc, '..'),
false
)));
Expand Down

0 comments on commit 44116db

Please sign in to comment.