diff --git a/test/integration/options/jobs.spec.js b/test/integration/options/jobs.spec.js index 832d825298..b2b7ef8672 100644 --- a/test/integration/options/jobs.spec.js +++ b/test/integration/options/jobs.spec.js @@ -23,7 +23,7 @@ describe('--jobs', function() { return expect( runMochaAsync( 'options/jobs/fail-in-parallel', - ['--parallel', '--jobs', '2'], + ['--parallel', '--parallelForce', '--jobs', '2'], 'pipe' ), 'when fulfilled', diff --git a/test/integration/options/parallel.spec.js b/test/integration/options/parallel.spec.js index 8fc5389943..44d18b68e5 100644 --- a/test/integration/options/parallel.spec.js +++ b/test/integration/options/parallel.spec.js @@ -43,7 +43,10 @@ describe('--parallel', function() { describe('when there is only a single test file', function() { it('should fail gracefully', function() { return expect( - runMochaAsync('options/parallel/syntax-err', ['--parallel']), + runMochaAsync('options/parallel/syntax-err', [ + '--parallelForce', + '--parallel' + ]), 'when fulfilled', 'to have failed with output', /SyntaxError/ @@ -146,6 +149,7 @@ describe('--parallel', function() { [ require.resolve('../fixtures/options/parallel/uncaught.fixture.js'), '--parallel', + '--parallelForce', '--allow-uncaught' ], 'pipe'