@samitouri / QOS-React / commits / f25a88e965

grunt jest tasks shouldn't use watchman (#6675)

Paul O’Shannessy committed May 3, 2016 at 14:39 UTC f25a88e96582663819fc14e8824dd051fe7142cf
1 file changed +5 -2
grunt/tasks/jest.js
+5 -2
@@ -49,7 +49,6 @@ function getJestConfig(callback) {
49 name: 'react',
50 collectCoverage: true,
51 collectCoverageOnlyFrom: data,
52 - watchman: false,
52 }));
53 });
54 }
@@ -73,7 +72,11 @@ function writeTempConfig(callback) {
72 function run(done, configPath) {
73 grunt.log.writeln('running jest');
74
76 - var args = [path.join('node_modules', 'jest-cli', 'bin', 'jest'), '--runInBand'];
75 + var args = [
76 + path.join('node_modules', 'jest-cli', 'bin', 'jest'),
77 + '--runInBand',
78 + '--no-watchman',
79 + ];
80 if (configPath) {
81 args.push('--config', configPath);
82 }