Skip to content

Commit 54cd72e

Browse files
authored
🔧 Add tests scripts in package.json (#2098)
1 parent 8574ea4 commit 54cd72e

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

frontend/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
"build": "tsc -p tsconfig.build.json && vite build",
99
"lint": "biome check --write --unsafe --no-errors-on-unmatched --files-ignore-unknown=true ./",
1010
"preview": "vite preview",
11-
"generate-client": "openapi-ts"
11+
"generate-client": "openapi-ts",
12+
"test": "bunx playwright test",
13+
"test:ui": "bunx playwright test --ui"
1214
},
1315
"dependencies": {
1416
"@hookform/resolvers": "^5.2.2",

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
],
77
"scripts": {
88
"dev": "bun run --filter frontend dev",
9-
"lint": "bun run --filter frontend lint"
9+
"lint": "bun run --filter frontend lint",
10+
"test": "bun run --filter frontend test",
11+
"test:ui": "bun run --filter frontend test:ui"
1012
}
1113
}

0 commit comments

Comments
 (0)