Skip to content

Commit 0b42f49

Browse files
committed
test: run the compat tests as part of test
1 parent 84442ea commit 0b42f49

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
"mochaExplorer.globImplementation": "vscode",
1616
"mochaExplorer.nodeArgv": ["--expose-gc"],
1717
"mochaExplorer.debuggerConfig": "JS-Attach",
18+
"mochaExplorer.env": {
19+
"INCLUDE_COMPAT_TESTS": "true"
20+
},
1821
"files.exclude": {
1922
"**/.DS_Store": true,
2023
"**/Thumbs.db": true,

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"@types/which": "^3.0.4",
3737
"benchmark": "^2.1.4",
3838
"chai": "^4",
39+
"cross-env": "^7.0.3",
3940
"deasync": "^0.1.30",
4041
"downlevel-dts": "^0.11.0",
4142
"electron-mocha": "^13.0.0",
@@ -97,7 +98,8 @@
9798
"build.native.debug": "cmake-ts dev-os-only",
9899
"build": "run-p build.js build.native",
99100
"build.debug": "run-s build.js build.native.debug",
100-
"test": "run-s clean.temp build && mocha",
101+
"test": "run-s clean.temp build test.run",
102+
"test.run": "cross-env INCLUDE_COMPAT_TESTS=true mocha",
101103
"test.smoke": "bash ./script/smoke-test.bash",
102104
"test.skip_gc_tests": "run-s clean.temp build.debug && cross-env SKIP_GC_TESTS=true mocha",
103105
"test.electron.main": "run-s clean.temp build && electron-mocha",

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)