Skip to content

Commit a5d40f8

Browse files
committed
test: setup browser and SSR testing
1 parent 6c4274b commit a5d40f8

12 files changed

+441
-173
lines changed

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,11 @@
2626
"./package.json": "./package.json"
2727
},
2828
"scripts": {
29+
"prepare": "playwright install",
2930
"build": "tsdown",
3031
"check": "biome check && tsc --noEmit",
3132
"fix": "biome check --fix",
32-
"test": "concurrently \"vitest --ui --coverage\" \"(cd tests && relay-compiler -w)\"",
33+
"test": "concurrently \"vitest --coverage\" \"(cd tests && relay-compiler -w)\"",
3334
"ci:test": "(cd tests && relay-compiler) && vitest run --coverage",
3435
"ci:version": "changeset version && biome check --fix",
3536
"ci:publish": "pnpm publish -r"
@@ -46,11 +47,11 @@
4647
"devDependencies": {
4748
"@biomejs/biome": "^1.9.4",
4849
"@changesets/cli": "^2.29.4",
49-
"@solidjs/testing-library": "^0.8.10",
5050
"@testing-library/jest-dom": "^6.6.3",
5151
"@types/node": "^24.0.3",
5252
"@types/relay-runtime": "^19.0.2",
5353
"@types/relay-test-utils": "^19.0.0",
54+
"@vitest/browser": "^3.2.3",
5455
"@vitest/coverage-v8": "^3.2.3",
5556
"@vitest/ui": "^3.2.3",
5657
"concurrently": "^9.1.2",
@@ -60,6 +61,7 @@
6061
"oxc-parser": "^0.73.0",
6162
"oxc-walker": "^0.3.0",
6263
"pkg-pr-new": "^0.0.51",
64+
"playwright": "^1.52.0",
6365
"publint": "^0.3.12",
6466
"relay-compiler": "^20.0.0",
6567
"relay-runtime": "^20.0.0",

0 commit comments

Comments
 (0)