test: add some tests

This commit is contained in:
rusconn
2023-10-14 10:45:58 +09:00
parent 99bc0b6a17
commit 6c7f03d3fe
13 changed files with 348 additions and 65 deletions

View File

@@ -10,6 +10,9 @@
"build": "next build",
"analyze": "ANALYZE=true next build",
"start": "serve out",
"test": "playwright test",
"test:update": "playwright test --update-snapshots",
"test:report": "playwright show-report",
"deploy": "firebase deploy --project devtoysweb",
"check": "pnpm typecheck && pnpm lint && pnpm format:check",
"fix": "pnpm lint:fix && pnpm format:write",
@@ -56,6 +59,7 @@
"devDependencies": {
"@ianvs/prettier-plugin-sort-imports": "^4.0.1",
"@next/bundle-analyzer": "13.4.12",
"@playwright/test": "^1.39.0",
"@types/create-hash": "^1.2.2",
"@types/html-escaper": "^3.0.0",
"@types/js-yaml": "^4.0.5",