Skip to content

Commit

Permalink
chore: retry flaky tests (#10)
Browse files Browse the repository at this point in the history
Co-authored-by: pauldambra <[email protected]>
  • Loading branch information
pauldambra and pauldambra authored Jan 20, 2025
1 parent dd4aaae commit 876e779
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ export default {
test: {
/**
* Keeps old (pre-jest 29) snapshot format
* its a bit ugly and harder to read than the new format,
* it's a bit ugly and harder to read than the new format,
* so we might want to remove this in its own PR
*/
snapshotFormat: {
escapeString: true,
printBasicPrototype: true,
},
retry: process.env.CI ? 2 : 0,
},
};

0 comments on commit 876e779

Please sign in to comment.