Skip to content

Commit

Permalink
Merge pull request #288 from azujuuuuuun/feature/migrate-jest-to-vitest
Browse files Browse the repository at this point in the history
Migrate jest to vitest
  • Loading branch information
azujuuuuuun authored Jan 26, 2024
2 parents c697778 + ee2f5da commit ffa013c
Show file tree
Hide file tree
Showing 11 changed files with 802 additions and 1,606 deletions.
5 changes: 0 additions & 5 deletions .env.test

This file was deleted.

18 changes: 0 additions & 18 deletions jest.config.ts

This file was deleted.

11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"lint:style": "stylelint '**/*.scss'",
"lint": "pnpm run lint:script && pnpm run lint:style",
"format": "prettier --write .",
"test": "NODE_ENV=test jest"
"test": "vitest run"
},
"dependencies": {
"@aws-sdk/client-s3": "3.498.0",
Expand All @@ -25,27 +25,26 @@
"devDependencies": {
"@testing-library/jest-dom": "6.3.0",
"@testing-library/react": "14.1.2",
"@types/jest": "29.5.11",
"@types/node": "20.11.6",
"@types/react": "18.2.48",
"@types/react-dom": "18.2.18",
"@typescript-eslint/eslint-plugin": "6.19.1",
"@typescript-eslint/parser": "6.19.1",
"@vitejs/plugin-react": "4.2.1",
"eslint": "8.56.0",
"eslint-config-next": "14.1.0",
"eslint-plugin-react": "7.33.2",
"husky": "8.0.3",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"jsdom": "24.0.0",
"lint-staged": "15.2.0",
"prettier": "3.2.4",
"sass": "1.70.0",
"stylelint": "16.2.0",
"stylelint-config-prettier-scss": "1.0.0",
"stylelint-config-standard-scss": "13.0.0",
"ts-jest": "29.1.2",
"ts-node": "10.9.2",
"typescript": "5.3.3"
"typescript": "5.3.3",
"vitest": "1.2.1"
},
"private": true,
"lint-staged": {
Expand Down
Loading

0 comments on commit ffa013c

Please sign in to comment.