Skip to content

Commit 5de98ca

Browse files
authored
test: migrate tests to rstest (#60)
1 parent ffeb28e commit 5de98ca

File tree

5 files changed

+212
-2579
lines changed

5 files changed

+212
-2579
lines changed

jest.config.ts

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

package.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
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
},
@@ -40,21 +40,17 @@
4040
"@biomejs/biome": "^1.9.4",
4141
"@rslib/core": "^0.15.1",
4242
"@rspack/core": "^1.5.8",
43-
"@types/jest": "29.5.14",
43+
"@rstest/core": "^0.5.3",
4444
"@types/node": "^22.17.0",
4545
"bumpp": "^10.2.3",
4646
"cac": "^6.7.14",
4747
"cross-env": "^10.0.0",
4848
"execa": "9.6.0",
4949
"fs-extra": "11.3.0",
50-
"jest": "29.7.0",
51-
"jest-cli": "29.7.0",
52-
"jest-environment-node": "29.7.0",
5350
"nano-staged": "^0.8.0",
5451
"react-refresh": "^0.17.0",
5552
"semver": "7.7.2",
5653
"simple-git-hooks": "^2.13.1",
57-
"ts-jest": "29.4.0",
5854
"ts-node": "^10.9.2",
5955
"typescript": "5.9.2"
6056
},

0 commit comments

Comments
 (0)