|
39 | 39 | "cross-env": "^7.0.3",
|
40 | 40 | "deasync": "^0.1.30",
|
41 | 41 | "downlevel-dts": "^0.11.0",
|
| 42 | + "electron": "^33.1.0", |
42 | 43 | "electron-mocha": "^13.0.0",
|
43 | 44 | "eslint": "^8.57.1",
|
44 | 45 | "eslint-config-atomic": "^1.22.1",
|
|
102 | 103 | "build": "run-p build.js build.native",
|
103 | 104 | "build.debug": "run-s build.js build.native.debug",
|
104 | 105 | "test": "run-s test.unit",
|
105 |
| - "test.unit": "run-s clean.temp build && cross-env INCLUDE_COMPAT_TESTS=false mocha ./test/unit/*-test.ts", |
| 106 | + "test.unit": "run-s clean.temp build && mocha ./test/unit/*-test.ts", |
106 | 107 | "test.unit.compat": "run-s clean.temp build && cross-env INCLUDE_COMPAT_TESTS=true mocha ./test/unit/compat/*-test.ts",
|
| 108 | + "test.unit.nogc": "run-s clean.temp build && cross-env SKIP_GC_TESTS=true mocha", |
| 109 | + "test.electron.main": "run-s clean.temp build && electron-mocha ./test/unit/*-test.ts", |
| 110 | + "test.electron.renderer": "run-s build && electron-mocha --renderer ./test/unit/*-test.ts", |
107 | 111 | "test.smoke": "bash ./script/smoke-test.bash",
|
108 |
| - "test.skip_gc_tests": "run-s clean.temp build && cross-env SKIP_GC_TESTS=true mocha", |
109 |
| - "test.electron.main": "run-s clean.temp build && electron-mocha", |
110 | 112 | "format": "run-s format.prettier format.clang-format",
|
111 | 113 | "format.prettier": "prettier -l --cache --cache-location ./.cache/prettier --write .",
|
112 | 114 | "format.clang-format": "clang-format -i -style=file ./src/*.cc ./src/*.h ./src/util/*.h",
|
113 |
| - "test.electron.renderer": "run-s build && electron-mocha --renderer", |
114 | 115 | "lint-test.eslint": "eslint ./**/*.{ts,tsx,js,jsx,cjs,mjs,json,yaml} --no-error-on-unmatched-pattern --cache --cache-location ./.cache/eslint/",
|
115 | 116 | "lint.eslint": "pnpm run lint-test.eslint --fix",
|
116 | 117 | "lint.tsc": "tsc --noEmit -p ./src/tsconfig.json",
|
|
0 commit comments