Skip to content

Commit dc26e90

Browse files
committed
disable parallel mode by default
Having run benchmarks against our unit tests and integration tests, I've found that the unit tests do not benefit from parallel mode--and in fact, they run more slowly. Integration tests still see a 50% performance boost, so we will use parallel tests for those only.
1 parent 53ada74 commit dc26e90

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.mocharc.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ global:
55
- 'okGlobalC'
66
- 'callback*'
77
timeout: 1000
8-
parallel: true
98
watch-ignore:
109
- '.*'
1110
- 'docs/_dist/**'

package-scripts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ module.exports = {
139139
integration: {
140140
script: test(
141141
'integration',
142-
'--timeout 10000 --slow 3750 "test/integration/**/*.spec.js"'
142+
'--parallel --timeout 10000 --slow 3750 "test/integration/**/*.spec.js"'
143143
),
144144
description: 'Run Node.js integration tests',
145145
hiddenFromHelp: true

0 commit comments

Comments
 (0)