Skip to content

Commit 28855e9

Browse files
authored
chore: replace playwright with Rstest for testing (#43)
1 parent 0261ee9 commit 28855e9

File tree

7 files changed

+127
-55
lines changed

7 files changed

+127
-55
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
cache: "pnpm"
3636

3737
- name: Install Dependencies
38-
run: pnpm install && npx playwright install
38+
run: pnpm install
3939

4040
- name: Run Test
4141
run: pnpm run test

package.json

Lines changed: 2 additions & 3 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": "playwright test",
26+
"test": "rstest",
2727
"bump": "npx bumpp"
2828
},
2929
"simple-git-hooks": {
@@ -43,14 +43,13 @@
4343
},
4444
"devDependencies": {
4545
"@biomejs/biome": "^1.9.4",
46-
"@playwright/test": "^1.54.1",
4746
"@rsbuild/core": "^1.4.12",
4847
"@rslib/core": "^0.11.0",
4948
"@rspack/cli": "^1.4.11",
5049
"@rspack/core": "^1.4.11",
50+
"@rstest/core": "^0.2.1",
5151
"@types/node": "^22.17.0",
5252
"nano-staged": "^0.8.0",
53-
"playwright": "^1.54.1",
5453
"rslog": "^1.2.9",
5554
"simple-git-hooks": "^2.13.1",
5655
"strip-ansi": "^7.1.0",

0 commit comments

Comments
 (0)