Skip to content

Commit

Permalink
fixed travis testcase error
Browse files Browse the repository at this point in the history
  • Loading branch information
stoicchild8910 committed Aug 30, 2020
1 parent 0eb8e83 commit 3118f81
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/integration/options/jobs.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
6 changes: 5 additions & 1 deletion test/integration/options/parallel.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down Expand Up @@ -146,6 +149,7 @@ describe('--parallel', function() {
[
require.resolve('../fixtures/options/parallel/uncaught.fixture.js'),
'--parallel',
'--parallelForce',
'--allow-uncaught'
],
'pipe'
Expand Down

0 comments on commit 3118f81

Please sign in to comment.