Skip to content

Commit 86837bc

Browse files
committed
fix(ts): remove invalid mocha config
1 parent 91e8a4f commit 86837bc

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

.mocharc.json

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

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
"cli": "node ./packages/git-proxy-cli/index.js",
77
"client": "vite --config vite.config.js",
88
"clientinstall": "npm install --prefix client",
9-
"server": "ts-node index.ts",
9+
"server": "tsx index.ts",
1010
"start": "concurrently \"npm run server\" \"npm run client\"",
1111
"build": "vite build",
1212
"build-ts": "tsc",
13-
"test": "NODE_ENV=test mocha --exit",
13+
"test": "NODE_ENV=test ts-mocha --exit",
1414
"test-coverage": "nyc npm run test",
1515
"test-coverage-ci": "nyc --reporter=lcovonly --reporter=text npm run test",
1616
"prepare": "node ./scripts/prepare.js",
@@ -80,6 +80,7 @@
8080
"@babel/preset-react": "^7.22.5",
8181
"@commitlint/cli": "^19.0.0",
8282
"@commitlint/config-conventional": "^19.0.0",
83+
"@types/expect": "^1.20.4",
8384
"@types/lodash": "^4.17.15",
8485
"@types/mocha": "^10.0.10",
8586
"@types/node": "^22.13.5",
@@ -100,7 +101,10 @@
100101
"nyc": "^17.0.0",
101102
"prettier": "^3.0.0",
102103
"sinon": "^19.0.2",
104+
"ts-mocha": "^11.1.0",
103105
"ts-node": "^10.9.2",
106+
"tsconfig-paths": "^4.2.0",
107+
"tsx": "^4.19.3",
104108
"typescript": "^5.7.3",
105109
"vite": "^4.4.2",
106110
"vite-tsconfig-paths": "^5.1.4"

0 commit comments

Comments
 (0)