Skip to content

Commit

Permalink
Explicitly set maxWorkers to force using workers
Browse files Browse the repository at this point in the history
  • Loading branch information
rubennorte committed Mar 7, 2019
1 parent df62dd6 commit 03723d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/__tests__/fatalWorkerError.test.ts
Expand Up @@ -37,7 +37,7 @@ test('fails a test that terminates the worker with a fatal error', () => {
'package.json': '{}',
});

const {status, stderr} = runJest(DIR);
const {status, stderr} = runJest(DIR, ['--maxWorkers=2']);

const numberOfTestsPassed = stderr.match(/\bPASS\b/g).length;

Expand Down

0 comments on commit 03723d6

Please sign in to comment.