Skip to content

Commit c0d2ac4

Browse files
authored
test: migrate to Rstest (#21)
1 parent 23f6458 commit c0d2ac4

13 files changed

Lines changed: 245 additions & 739 deletions

File tree

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"lint": "biome check .",
2222
"lint:write": "biome check . --write",
2323
"prepare": "simple-git-hooks && npm run build",
24-
"test": "vitest",
24+
"test": "rstest run",
25+
"test:watch": "rstest",
2526
"bump": "npx bumpp"
2627
},
2728
"simple-git-hooks": {
@@ -35,11 +36,11 @@
3536
"devDependencies": {
3637
"@biomejs/biome": "^1.9.4",
3738
"@rslib/core": "^0.9.1",
39+
"@rstest/core": "https://pkg.pr.new/web-infra-dev/rstest/@rstest/core@1b40438",
3840
"@types/node": "^22.15.29",
3941
"nano-staged": "^0.8.0",
4042
"simple-git-hooks": "^2.13.0",
41-
"typescript": "^5.8.3",
42-
"vitest": "^3.1.4"
43+
"typescript": "^5.8.3"
4344
},
4445
"packageManager": "pnpm@10.11.0",
4546
"publishConfig": {

0 commit comments

Comments
 (0)