Commit 2f6fac9f authored by Dan Abramov's avatar Dan Abramov Committed by GitHub
Browse files

Fix npm test on Windows (#1647)

parent 253c1e01
4 merge requests!12191Lim.Pisey.168:/Identified - We are currently investigating reports of missing build logs. The issue has been identified and a resolution is in progress. We will provide a further update when available.Mar 21, 09:02 UTC,!12853brikk,!5717Automatically extract project file structure from build bundle file,!1933Add note about installing watchman
Showing with 1 addition and 1 deletion
+1 -1
...@@ -32,7 +32,7 @@ const createJestConfig = require('../utils/createJestConfig'); ...@@ -32,7 +32,7 @@ const createJestConfig = require('../utils/createJestConfig');
const path = require('path'); const path = require('path');
const paths = require('../config/paths'); const paths = require('../config/paths');
argv.push('--config', JSON.stringify(createJestConfig( 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, '..'), path.resolve(paths.appSrc, '..'),
false false
))); )));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment