Skip to content

Commit 3382c76

Browse files
committed
test: migrate tests to rstest
1 parent ffeb28e commit 3382c76

File tree

5 files changed

+217
-2580
lines changed

5 files changed

+217
-2580
lines changed

jest.config.ts

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

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,15 @@
2323
"lint": "biome check .",
2424
"lint:write": "biome check . --write",
2525
"prepare": "simple-git-hooks && npm run build",
26-
"test": "jest --colors",
26+
"test": "rstest",
2727
"release": "node ./scripts/release.mjs",
2828
"bump": "npx bumpp --no-push --no-tag --no-commit"
2929
},
30-
"files": ["client", "dist", "exports"],
30+
"files": [
31+
"client",
32+
"dist",
33+
"exports"
34+
],
3135
"simple-git-hooks": {
3236
"pre-commit": "npx nano-staged"
3337
},
@@ -40,21 +44,17 @@
4044
"@biomejs/biome": "^1.9.4",
4145
"@rslib/core": "^0.15.1",
4246
"@rspack/core": "^1.5.8",
43-
"@types/jest": "29.5.14",
47+
"@rstest/core": "^0.5.3",
4448
"@types/node": "^22.17.0",
4549
"bumpp": "^10.2.3",
4650
"cac": "^6.7.14",
4751
"cross-env": "^10.0.0",
4852
"execa": "9.6.0",
4953
"fs-extra": "11.3.0",
50-
"jest": "29.7.0",
51-
"jest-cli": "29.7.0",
52-
"jest-environment-node": "29.7.0",
5354
"nano-staged": "^0.8.0",
5455
"react-refresh": "^0.17.0",
5556
"semver": "7.7.2",
5657
"simple-git-hooks": "^2.13.1",
57-
"ts-jest": "29.4.0",
5858
"ts-node": "^10.9.2",
5959
"typescript": "5.9.2"
6060
},

0 commit comments

Comments
 (0)