Skip to content

Commit

Permalink
add vitest
Browse files Browse the repository at this point in the history
  • Loading branch information
dai-shi committed Apr 21, 2024
1 parent c9b553f commit c443e96
Show file tree
Hide file tree
Showing 6 changed files with 602 additions and 15 deletions.
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"test:format": "prettier -c .",
"test:lint": "eslint .",
"test:types": "tsc -p . --noEmit",
"test:spec": "vitest",
"examples:01_counter": "DIR=01_counter vite"
},
"keywords": [
Expand All @@ -53,6 +54,8 @@
"signal-polyfill": "^0.1.0"
},
"devDependencies": {
"@testing-library/react": "^15.0.2",
"@testing-library/user-event": "^14.5.2",
"@types/node": "^20.12.7",
"@types/react": "^18.2.79",
"@types/react-dom": "^18.2.25",
Expand All @@ -68,8 +71,10 @@
"prettier": "^3.2.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"ts-expect": "^1.3.0",
"typescript": "^5.4.5",
"vite": "^5.2.10"
"vite": "^5.2.10",
"vitest": "^1.5.0"
},
"peerDependencies": {
"react": ">=18.0.0"
Expand Down
Loading

0 comments on commit c443e96

Please sign in to comment.