Skip to content

Commit 470b406

Browse files
committed
Add test scripts
1 parent b7aa259 commit 470b406

2 files changed

Lines changed: 90 additions & 4 deletions

File tree

package-lock.json

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

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"build": "vite build",
99
"lint": "eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0",
1010
"preview": "vite preview",
11-
"server": "json-server --watch src/SpinClasses.json --port 5000"
11+
"test": "vitest",
12+
"test:ui": "vitest --ui"
1213
},
1314
"dependencies": {
1415
"@material-tailwind/react": "^2.1.10",
@@ -26,6 +27,7 @@
2627
"@types/react": "^18.2.66",
2728
"@types/react-dom": "^18.2.22",
2829
"@vitejs/plugin-react": "^4.2.1",
30+
"@vitest/ui": "^3.0.7",
2931
"autoprefixer": "^10.4.19",
3032
"eslint": "^8.57.0",
3133
"eslint-plugin-react": "^7.34.1",

0 commit comments

Comments
 (0)