Merged in chore/partner-sas-test-setup (pull request #2484)

chore: Test setup in partner-web

* Add playwright

* Add vitest setup


Approved-by: Linus Flood
This commit is contained in:
Anton Gunnarsson
2025-07-01 08:27:59 +00:00
parent 9426f4b1ac
commit a3702d0ecc
8 changed files with 216 additions and 6 deletions

View File

@@ -9,7 +9,10 @@
"start": "node .next/standalone/server.js",
"lint": "next lint --max-warnings 0 && tsc --noEmit",
"lint:fix": "next lint --fix && tsc --noEmit",
"check-types": "tsc --noEmit"
"check-types": "tsc --noEmit",
"test": "vitest run --passWithNoTests",
"test:watch": "vitest",
"test:e2e": "playwright test"
},
"dependencies": {
"@netlify/plugin-nextjs": "^5.11.2",
@@ -22,6 +25,7 @@
"devDependencies": {
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.26.0",
"@playwright/test": "^1.53.1",
"@scandic-hotels/common": "workspace:*",
"@scandic-hotels/typescript-config": "workspace:*",
"@types/node": "^20",
@@ -36,7 +40,8 @@
"eslint-plugin-simple-import-sort": "^12.1.1",
"graphql-tag": "^2.12.6",
"typescript": "5.8.3",
"typescript-plugin-css-modules": "^5.1.0"
"typescript-plugin-css-modules": "^5.1.0",
"vitest": "^3.2.4"
},
"engines": {
"node": "22"