Skip to content

Commit 6207c8a

Browse files
committed
switch from mocha to node:test
1 parent 8db45bc commit 6207c8a

18 files changed

+20
-1129
lines changed

.mocharc.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

.npmignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,4 @@ test/
1010
.gitignore
1111
.travis.yml
1212
eslint.config.mjs
13-
gulpfile.js
14-
.mocharc.json
13+
gulpfile.js

.vscode/launch.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,11 @@
1414
"name": "Unit Tests",
1515
"type": "node",
1616
"request": "launch",
17-
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
18-
"stopOnEntry": false,
19-
"args": [
20-
"--timeout",
21-
"999999",
22-
"--colors"
17+
"runtimeArgs": [
18+
"--test",
19+
"./lib/umd/test/**/*.test.js"
2320
],
2421
"cwd": "${workspaceRoot}",
25-
"runtimeExecutable": null,
26-
"runtimeArgs": [],
27-
"env": {},
2822
"sourceMaps": true,
2923
"outFiles": [ "${workspaceRoot}/lib/umd/**/*.js" ],
3024
"preLaunchTask": "npm: watch"

0 commit comments

Comments
 (0)