Skip to content

Commit 6baf1db

Browse files
committed
adds vitest ui
1 parent 42a6d44 commit 6baf1db

File tree

3 files changed

+76
-18
lines changed

3 files changed

+76
-18
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111
"test": "vitest --coverage",
1212
"test:run": "vitest run",
1313
"test:coverage": "vitest run --coverage",
14-
"test:watch": "vitest"
14+
"test:watch": "vitest",
15+
"test:ui": "vitest --ui",
16+
"test:silent": "vitest run --silent"
1517
},
1618
"dependencies": {
1719
"react": "^18.2.0",
@@ -28,6 +30,7 @@
2830
"@types/react-dom": "^19.1.2",
2931
"@vitejs/plugin-react": "^4.4.1",
3032
"@vitest/coverage-v8": "^3.2.2",
33+
"@vitest/ui": "^3.2.2",
3134
"eslint": "^9.25.0",
3235
"eslint-plugin-react-hooks": "^5.2.0",
3336
"eslint-plugin-react-refresh": "^0.4.19",

pnpm-lock.yaml

Lines changed: 69 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vite.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
import { defineConfig } from 'vite'
2+
import react from '@vitejs/plugin-react'
3+
14
export default defineConfig({
25
plugins: [react()],
36
root: './',

0 commit comments

Comments
 (0)