Skip to content

Commit f5f6dc4

Browse files
committed
chore: add testing deps
1 parent 0fb1d17 commit f5f6dc4

File tree

2 files changed

+526
-2
lines changed

2 files changed

+526
-2
lines changed

package.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@
77
"dev": "vite",
88
"build": "tsc -b && vite build && vite build --mode=client",
99
"lint": "eslint .",
10-
"preview": "vite preview"
10+
"preview": "vite preview",
11+
"test": "vitest",
12+
"test:ui": "vitest --ui",
13+
"test:run": "vitest run",
14+
"test:coverage": "vitest run --coverage",
15+
"test:watch": "vitest watch"
1116
},
1217
"dependencies": {
1318
"@fontsource-variable/inter": "^5.2.5",
@@ -60,6 +65,8 @@
6065
"@biomejs/biome": "2.1.1",
6166
"@eslint/js": "^9.25.0",
6267
"@hono/vite-dev-server": "^0.19.1",
68+
"@testing-library/jest-dom": "^6.6.4",
69+
"@testing-library/react": "^16.3.0",
6370
"@types/lodash": "^4.17.17",
6471
"@types/node": "^22.15.21",
6572
"@types/prismjs": "^1.26.5",
@@ -73,12 +80,14 @@
7380
"eslint-plugin-react-hooks": "^5.2.0",
7481
"eslint-plugin-react-refresh": "^0.4.19",
7582
"globals": "^16.0.0",
83+
"happy-dom": "^18.0.1",
7684
"postcss": "^8.5.3",
7785
"tailwindcss": "3",
7886
"typescript": "~5.8.3",
7987
"typescript-eslint": "^8.30.1",
8088
"vercel": "^42.3.0",
8189
"vite": "^6.3.5",
82-
"vite-plugin-vercel": "^9.0.7"
90+
"vite-plugin-vercel": "^9.0.7",
91+
"vitest": "^3.2.4"
8392
}
8493
}

0 commit comments

Comments
 (0)