Skip to content

Commit 70d8644

Browse files
chore: Update Vitest to latest V2 (#3707)
1 parent 1441847 commit 70d8644

File tree

3 files changed

+226
-180
lines changed

3 files changed

+226
-180
lines changed

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,9 @@
134134
"@typescript-eslint/utils": "^8.19.1",
135135
"@vitejs/plugin-legacy": "^6.0.0",
136136
"@vitejs/plugin-react": "^4.3.4",
137-
"@vitest/coverage-istanbul": "^2.1.8",
138-
"@vitest/eslint-plugin": "^1.1.21",
139-
"@vitest/ui": "^2.1.8",
137+
"@vitest/coverage-istanbul": "^2.1.9",
138+
"@vitest/eslint-plugin": "^1.1.25",
139+
"@vitest/ui": "^2.1.9",
140140
"autoprefixer": "^10.4.14",
141141
"babel-preset-react-app": "^10.0.1",
142142
"confusing-browser-globals": "^1.0.11",
@@ -168,7 +168,7 @@
168168
"vite-plugin-ejs": "^1.7.0",
169169
"vite-plugin-svgr": "^4.3.0",
170170
"vite-tsconfig-paths": "^5.1.4",
171-
"vitest": "^2.1.8"
171+
"vitest": "^2.1.9"
172172
},
173173
"engines": {
174174
"node": ">=22.11.0"

vitest.config.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const EXCLUDE_FROM_COVERAGE = [
3232
]
3333

3434
const VitestConfig = defineConfig((config) => {
35-
const reporters = ['basic']
35+
const reporters = ['default']
3636
if (process.env.ENABLE_TEST_REPORTER) {
3737
reporters.push(['junit', { outputFile: 'reports/junit/junit.xml' }])
3838
}

0 commit comments

Comments
 (0)