Skip to content

Commit

Permalink
Fix npm test on Windows (#1647)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Feb 26, 2017
1 parent 0ad2c72 commit eb34d80
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 eb34d80

Please sign in to comment.