Skip to content

Commit 536cc15

Browse files
authored
Add test explorer support (#996)
1 parent d87a03a commit 536cc15

3 files changed

Lines changed: 21 additions & 9 deletions

File tree

.vscode/settings.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,16 @@
5050
"editor.codeActionsOnSave": {
5151
"source.fixAll.eslint": true
5252
},
53+
"mochaExplorer.files": [
54+
"textDocument/lib/umd/test/*.js",
55+
"types/lib/umd/test/*.js",
56+
"jsonrpc/lib/common/test/*.js",
57+
"jsonrpc/lib/node/test/*.js",
58+
"protocol/lib/node/test/*.js",
59+
"server/lib/*/test/*.js"
60+
],
61+
"mochaExplorer.ui": "tdd",
62+
"mochaExplorer.require": "source-map-support/register",
5363
"cSpell.words": [
5464
"ASAR",
5565
"asColorInformations",

package-lock.json

Lines changed: 7 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,11 @@
2626
"rimraf": "^3.0.2",
2727
"shelljs": "^0.8.5",
2828
"shx": "^0.3.4",
29+
"source-map-support": "^0.5.21",
30+
"ts-json-schema-generator": "^1.0.0",
2931
"typescript": "^4.6.4",
3032
"webpack": "^5.72.0",
31-
"webpack-cli": "^4.9.2",
32-
"ts-json-schema-generator": "^1.0.0"
33+
"webpack-cli": "^4.9.2"
3334
},
3435
"scripts": {
3536
"postinstall": "node ./build/bin/all.js install && cd testbed && npm install && cd .. && npm run symlink:testbed",
@@ -57,4 +58,4 @@
5758
"generate:metaModel": "node ./tools/lib/main.js -p ./protocol/src/common/tsconfig.json > ./protocol/metaModel.json",
5859
"generate:metaModelSchema": "ts-json-schema-generator --path ./tools/src/metaModel.ts > ./protocol/metaModel.schema.json"
5960
}
60-
}
61+
}

0 commit comments

Comments
 (0)