diff options
author | Michael Hunteman <michael@huntm.net> | 2024-09-27 08:43:02 -0700 |
---|---|---|
committer | Michael Hunteman <michael@huntm.net> | 2024-09-27 08:43:02 -0700 |
commit | a88f613da7e5567dbfdebd7df94f94507c47c6b5 (patch) | |
tree | b10a6c1640c11672a940f8fa71cdf3d3485135d4 /client/package.json | |
parent | 7ccca5ca18200388d10fca33a1d7095a0abfcd36 (diff) |
Add vitests
Diffstat (limited to 'client/package.json')
-rw-r--r-- | client/package.json | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/client/package.json b/client/package.json index 0d6bab2..0990aa3 100644 --- a/client/package.json +++ b/client/package.json @@ -7,7 +7,8 @@ "dev": "bunx --bun vite --host", "build": "tsc && vite build", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", - "preview": "vite preview" + "preview": "vite preview", + "test": "vitest" }, "dependencies": { "@emotion/react": "^11.13.3", @@ -28,6 +29,9 @@ }, "devDependencies": { "@hookform/devtools": "^4.3.1", + "@testing-library/jest-dom": "^6.5.0", + "@testing-library/react": "^16.0.1", + "@testing-library/user-event": "^14.5.2", "@types/bun": "^1.1.0", "@types/react": "^18.2.55", "@types/react-dom": "^18.2.19", @@ -37,8 +41,10 @@ "eslint": "^8.56.0", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.4.5", + "jsdom": "^25.0.0", "msw": "^2.2.1", "typescript": "^5.2.2", - "vite": "^5.4.2" + "vite": "^5.4.2", + "vitest": "^2.1.1" } } |