Skip to content

Commit

Permalink
grunt jest tasks shouldn't use watchman (#6675)
Browse files Browse the repository at this point in the history
  • Loading branch information
zpao committed May 3, 2016
1 parent 771d938 commit f25a88e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions grunt/tasks/jest.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ function getJestConfig(callback) {
name: 'react',
collectCoverage: true,
collectCoverageOnlyFrom: data,
watchman: false,
}));
});
}
Expand All @@ -73,7 +72,11 @@ function writeTempConfig(callback) {
function run(done, configPath) {
grunt.log.writeln('running jest');

var args = [path.join('node_modules', 'jest-cli', 'bin', 'jest'), '--runInBand'];
var args = [
path.join('node_modules', 'jest-cli', 'bin', 'jest'),
'--runInBand',
'--no-watchman',
];
if (configPath) {
args.push('--config', configPath);
}
Expand Down

0 comments on commit f25a88e

Please sign in to comment.