Skip to content

Commit 99e09be

Browse files
committedJan 13, 2023
ci: Set max workers on tests to 1
1 parent f43ae04 commit 99e09be

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed
 

‎packages/cspell-gitignore/vitest.config.ts

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export default mergeConfig(
1010
include: ['src/**/*.test.{ts,mts}'],
1111
exclude: ['content/**', 'fixtures/**', 'bin.mjs', '_snapshots_'],
1212
root: __dirname,
13+
testTimeout: 10000,
1314
},
1415
})
1516
);

‎packages/cspell-lib/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"coverage": "jest --coverage",
2424
"test-watch": "jest --watch",
2525
"prepublishOnly": "pnpm run clean-build",
26-
"test": "jest",
26+
"test": "jest --maxWorkers=1",
2727
"test:update-snapshot": "jest --updateSnapshot"
2828
},
2929
"repository": {

‎packages/cspell/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"coverage": "jest --coverage",
5050
"test-watch": "jest --watch",
5151
"prepublishOnly": "pnpm run clean-build",
52-
"test": "jest",
52+
"test": "jest --maxWorkers=1",
5353
"test:update-snapshot": "jest --updateSnapshot"
5454
},
5555
"repository": {

0 commit comments

Comments
 (0)
Please sign in to comment.