Skip to content

Commit 9694033

Browse files
committed
test: setup browser and SSR testing
1 parent 13cde64 commit 9694033

12 files changed

+354
-232
lines changed

package.json

Lines changed: 7 additions & 3 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": "^22.15.21",
5252
"@types/relay-runtime": "^19.0.1",
5353
"@types/relay-test-utils": "^19.0.0",
54+
"@vitest/browser": "^3.1.4",
5455
"@vitest/coverage-v8": "^3.1.4",
5556
"@vitest/ui": "^3.1.4",
5657
"concurrently": "^9.1.2",
@@ -60,6 +61,7 @@
6061
"oxc-parser": "^0.72.0",
6162
"oxc-walker": "^0.2.5",
6263
"pkg-pr-new": "^0.0.50",
64+
"playwright": "^1.52.0",
6365
"publint": "^0.3.12",
6466
"relay-compiler": "^19.0.0",
6567
"relay-runtime": "^19.0.0",
@@ -76,7 +78,9 @@
7678
"@changesets/assemble-release-plan": "patches/@changesets__assemble-release-plan.patch"
7779
}
7880
},
79-
"files": ["dist"],
81+
"files": [
82+
"dist"
83+
],
8084
"license": "MIT",
8185
"packageManager": "[email protected]+sha512.6540583f41cc5f628eb3d9773ecee802f4f9ef9923cc45b69890fb47991d4b092964694ec3a4f738a420c918a333062c8b925d312f42e4f0c263eb603551f977"
8286
}

0 commit comments

Comments
 (0)