Skip to content

Commit

Permalink
chore: Update Vitest to latest V2 (#3707)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholas-codecov authored Feb 4, 2025
1 parent 1441847 commit 70d8644
Show file tree
Hide file tree
Showing 3 changed files with 226 additions and 180 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,9 @@
"@typescript-eslint/utils": "^8.19.1",
"@vitejs/plugin-legacy": "^6.0.0",
"@vitejs/plugin-react": "^4.3.4",
"@vitest/coverage-istanbul": "^2.1.8",
"@vitest/eslint-plugin": "^1.1.21",
"@vitest/ui": "^2.1.8",
"@vitest/coverage-istanbul": "^2.1.9",
"@vitest/eslint-plugin": "^1.1.25",
"@vitest/ui": "^2.1.9",
"autoprefixer": "^10.4.14",
"babel-preset-react-app": "^10.0.1",
"confusing-browser-globals": "^1.0.11",
Expand Down Expand Up @@ -168,7 +168,7 @@
"vite-plugin-ejs": "^1.7.0",
"vite-plugin-svgr": "^4.3.0",
"vite-tsconfig-paths": "^5.1.4",
"vitest": "^2.1.8"
"vitest": "^2.1.9"
},
"engines": {
"node": ">=22.11.0"
Expand Down
2 changes: 1 addition & 1 deletion vitest.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const EXCLUDE_FROM_COVERAGE = [
]

const VitestConfig = defineConfig((config) => {
const reporters = ['basic']
const reporters = ['default']
if (process.env.ENABLE_TEST_REPORTER) {
reporters.push(['junit', { outputFile: 'reports/junit/junit.xml' }])
}
Expand Down
Loading

0 comments on commit 70d8644

Please sign in to comment.