Skip to content

Commit ce1a125

Browse files
committed
try using tsx
1 parent 9351d85 commit ce1a125

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,15 @@
6969
"eslint-v9": "npm:eslint@^9.39.1",
7070
"expect-type": "^1.2.2",
7171
"fs-extra": "^10.1.0",
72-
"mocha": "^10.4.0",
72+
"mocha": "^11.7.5",
7373
"monaco-editor": "^0.47.0",
7474
"nyc": "^15.1.0",
7575
"opener": "^1.5.2",
7676
"rimraf": "^6.1.2",
7777
"rolldown": "^1.0.0-beta.52",
7878
"semver": "^7.7.3",
7979
"tsdown": "^0.17.0-beta.5",
80+
"tsx": "^4.21.0",
8081
"typescript": "^5.9.3",
8182
"vite-plugin-eslint4b": "^0.6.0",
8283
"vitepress": "^1.0.0-rc.15"
@@ -92,7 +93,7 @@
9293
"docs:watch": "vitepress dev docs",
9394
"lint": "eslint lib scripts tests",
9495
"test": "set NODE_OPTIONS=--experimental-transform-types && npm run debug",
95-
"debug": "mocha \"tests/lib/**/*.test.ts\" --reporter dot --timeout 8000",
96+
"debug": "mocha --node-options=\"--import=tsx\" \"tests/lib/**/*.test.ts\" --reporter dot --timeout 8000",
9697
"typecheck": "tsc -p tsconfig.json",
9798
"check-exports": "attw --pack",
9899
"coverage": "nyc report --reporter lcov && opener coverage/lcov-report/index.html",

0 commit comments

Comments
 (0)