Skip to content

Commit c0ea3ae

Browse files
committed
Migrate tests to Vitest
1 parent cbe4d79 commit c0ea3ae

15 files changed

Lines changed: 1442 additions & 1888 deletions

jest.config.ts

Lines changed: 0 additions & 10 deletions
This file was deleted.

package.json

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939
"download-language-names": "node scripts/download-language-names.js",
4040
"change-password": "node scripts/change-password.js",
4141
"postbuild": "node scripts/postbuild.js",
42-
"test": "jest",
42+
"test": "vitest run",
43+
"test:watch": "vitest",
4344
"cypress-open": "cypress open cypress run",
4445
"cypress-run": "cypress run cypress run",
4546
"seed-data": "tsx scripts/seed-data.ts",
@@ -126,15 +127,17 @@
126127
"@rollup/plugin-replace": "^5.0.2",
127128
"@rollup/plugin-terser": "^0.4.4",
128129
"@rollup/plugin-typescript": "^12.3.0",
129-
"@types/jest": "^30.0.0",
130+
"@testing-library/jest-dom": "^6.9.1",
131+
"@testing-library/react": "^16.3.2",
132+
"@testing-library/user-event": "^14.6.1",
130133
"@types/node": "^24.12.0",
131134
"@types/react": "^19.2.14",
132135
"@types/react-dom": "^19.2.2",
133136
"babel-plugin-react-compiler": "19.1.0-rc.2",
134137
"cross-env": "^10.1.0",
135138
"cypress": "^13.6.6",
136139
"dotenv-cli": "^11.0.0",
137-
"jest": "^29.7.0",
140+
"jsdom": "^29.1.1",
138141
"postcss": "^8.5.10",
139142
"postcss-flexbugs-fixes": "^5.0.2",
140143
"postcss-import": "^15.1.0",
@@ -148,11 +151,11 @@
148151
"rollup-plugin-peer-deps-external": "^2.2.4",
149152
"rollup-plugin-postcss": "^4.0.2",
150153
"tar": "^7.5.13",
151-
"ts-jest": "^29.4.6",
152154
"ts-morph": "^27.0.2",
153155
"ts-node": "^10.9.1",
154156
"tsup": "^8.5.0",
155157
"tsx": "^4.19.0",
156-
"typescript": "^5.9.3"
158+
"typescript": "^5.9.3",
159+
"vitest": "^4.1.6"
157160
}
158161
}

0 commit comments

Comments
 (0)