Skip to content

Commit

Permalink
Merge branch 'fix-flaky-test' into nested-routes-for-catalogue-#1218
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuadkitenge committed Jan 13, 2025
2 parents a253c00 + cb996a3 commit df22100
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"type": "module",
"private": true,
"dependencies": {
"@codecov/vite-plugin": "1.7.0",
"@date-io/date-fns": "3.0.0",
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
Expand Down Expand Up @@ -77,7 +78,6 @@
"packageManager": "[email protected]",
"devDependencies": {
"@babel/eslint-parser": "7.25.9",
"@codecov/vite-plugin": "1.7.0",
"@eslint/compat": "1.2.4",
"@eslint/js": "9.17.0",
"@tanstack/eslint-plugin-query": "5.62.1",
Expand Down
5 changes: 2 additions & 3 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,9 @@ export default defineConfig(({ mode }) => {
reporters: [
'default',
// Extra for codecov test analysis
...(env.CI
? [['junit', { outputFile: 'test-report.junit.xml', silent: true }]]
: []),
...(env.CI ? ['junit'] : []),
],
outputFile: env.CI ? { junit: 'test-report.junit.xml' } : undefined,
},
};
});

0 comments on commit df22100

Please sign in to comment.