feat: switch from jest to vitest
This commit is contained in:
parent
8ae7083326
commit
7fccba7fec
9 changed files with 1043 additions and 407 deletions
15
package.json
15
package.json
|
|
@ -14,7 +14,10 @@
|
|||
"storybook": "cross-env FORCE_COLOR=1 storybook dev -p 6006",
|
||||
"test-storybook": "cross-env FORCE_COLOR=1 test-storybook",
|
||||
"build-storybook": "cross-env FORCE_COLOR=1 storybook build",
|
||||
"test": "cross-env FORCE_COLOR=1 jest --passWithNoTests",
|
||||
"test": "cross-env FORCE_COLOR=1 vitest",
|
||||
"test:watch": "cross-env FORCE_COLOR=1 vitest --watch",
|
||||
"test:ui": "cross-env FORCE_COLOR=1 vitest --ui",
|
||||
"test:coverage": "cross-env FORCE_COLOR=1 vitest --coverage",
|
||||
"e2e:headless": "playwright test",
|
||||
"e2e:ui": "playwright test --ui",
|
||||
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
|
||||
|
|
@ -60,7 +63,6 @@
|
|||
"@babel/plugin-transform-optional-chaining": "^7.27.1",
|
||||
"@babel/plugin-transform-react-jsx": "^7.27.1",
|
||||
"@eslint/eslintrc": "^3.3.1",
|
||||
"@jest/globals": "^29.7.0",
|
||||
"@next/eslint-plugin-next": "15.1.6",
|
||||
"@opentelemetry/api": "1.7.0",
|
||||
"@opentelemetry/resources": "1.18.1",
|
||||
|
|
@ -81,11 +83,12 @@
|
|||
"@testing-library/jest-dom": "^6.1.4",
|
||||
"@testing-library/react": "^14.3.1",
|
||||
"@total-typescript/ts-reset": "^0.5.1",
|
||||
"@types/jest": "^29.5.10",
|
||||
"@types/node": "^20.17.43",
|
||||
"@types/react": "^19.1.3",
|
||||
"@types/react-dom": "^19.1.3",
|
||||
"@typescript-eslint/eslint-plugin": "8.21.0",
|
||||
"@vitejs/plugin-react": "^4.7.0",
|
||||
"@vitest/ui": "^3.2.4",
|
||||
"all-contributors-cli": "^6.26.1",
|
||||
"cross-env": "^7.0.3",
|
||||
"eslint": "^9.26.0",
|
||||
|
|
@ -96,8 +99,7 @@
|
|||
"eslint-plugin-tailwindcss": "^3.18.0",
|
||||
"fetch-mock": "^9.11.0",
|
||||
"gzip-size": "6.0.0",
|
||||
"jest": "^29.7.0",
|
||||
"jest-environment-jsdom": "^29.7.0",
|
||||
"jsdom": "^26.1.0",
|
||||
"mkdirp": "^3.0.1",
|
||||
"patch-package": "^8.0.0",
|
||||
"postcss": "^8.5.3",
|
||||
|
|
@ -108,11 +110,12 @@
|
|||
"semantic-release": "^22.0.12",
|
||||
"storybook": "^8.6.12",
|
||||
"tailwindcss": "^4.1.5",
|
||||
"ts-jest": "^29.3.2",
|
||||
"tsc": "^2.0.4",
|
||||
"typed-query-selector": "^2.12.0",
|
||||
"typescript": "^5.8.3",
|
||||
"typescript-eslint": "^8.32.0",
|
||||
"vite-tsconfig-paths": "^5.1.4",
|
||||
"vitest": "^3.2.4",
|
||||
"webpack": "5.94.0"
|
||||
},
|
||||
"engines": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue