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 committed Feb 26, 2017
1 parent 20905d3 commit 4c9a48e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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 4c9a48e

Please sign in to comment.