Skip to content

Commit

Permalink
Replace jest with vitest
Browse files Browse the repository at this point in the history
  • Loading branch information
inokawa committed Nov 4, 2024
1 parent 9f95dc8 commit 8f1e9ec
Show file tree
Hide file tree
Showing 8 changed files with 2,229 additions and 2,505 deletions.
6 changes: 0 additions & 6 deletions babel.config.js

This file was deleted.

4 changes: 0 additions & 4 deletions jest.config.js

This file was deleted.

4,594 changes: 2,162 additions & 2,432 deletions package-lock.json

Large diffs are not rendered by default.

10 changes: 3 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"sideEffects": false,
"scripts": {
"build": "rollup -c",
"test": "jest",
"test": "vitest run",
"tsc": "tsc -p . --noEmit",
"storybook": "storybook dev -p 6006",
"storybook:build": "storybook build",
Expand All @@ -32,9 +32,6 @@
"tslib": "^2.6.2"
},
"devDependencies": {
"@babel/core": "^7.24.5",
"@babel/preset-env": "^7.24.5",
"@babel/preset-typescript": "^7.24.1",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@storybook/addon-storysource": "^8.4.0",
Expand All @@ -45,10 +42,8 @@
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.0",
"@types/unist": "^3.0.2",
"babel-jest": "^29.7.0",
"concurrently": "^7.6.0",
"github-markdown-css": "^4.0.0",
"jest": "^29.7.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-is": "^18.3.1",
Expand All @@ -66,7 +61,8 @@
"storybook": "^8.4.0",
"typescript": "^5.4.5",
"unified": "^11.0.4",
"vite": "^5.1.7"
"vite": "^5.4.10",
"vitest": "^2.1.4"
},
"peerDependencies": {
"unified": ">=11.0.0"
Expand Down
Loading

0 comments on commit 8f1e9ec

Please sign in to comment.