Skip to content

Commit c123acf

Browse files
committed
test: run the tests in parallel
1 parent 0771fb5 commit c123acf

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.mocharc.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,14 @@
22

33
module.exports = {
44
require: ["ts-node/register", "rocha"],
5-
spec: ["test/unit/*-test.ts", "test/unit/compat/*-test.{ts,js}"],
5+
spec: [
6+
"test/unit/*-test.ts",
7+
"test/unit/compat/*-test.js",
8+
],
69
"expose-gc": true,
710
"v8-expose-gc": true,
811
"experimental-worker": true,
912
recursive: true,
13+
exit: true,
14+
parallel: true,
1015
}

.vscode/settings.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"mochaExplorer.parallel": true,
3+
"mochaExplorer.globImplementation": "vscode"
4+
}

0 commit comments

Comments
 (0)