Skip to content

Commit

Permalink
ci: set provider and sequence in vitest config
Browse files Browse the repository at this point in the history
  • Loading branch information
Slartibartfass2 committed Nov 10, 2024
1 parent f02cda4 commit 8598c89
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ export default defineConfig({
test: {
include: ["src/**/*.{test,spec}.{js,ts}"],
reporters: process.env.GITHUB_ACTIONS ? ["default", "github-actions"] : ["default"],
sequence: {
shuffle: true,
},
coverage: {
provider: "v8",
enabled: true,
cleanOnRerun: true,
reporter: process.env.GITHUB_ACTIONS ? ["lcov"] : ["html"],
Expand Down

0 comments on commit 8598c89

Please sign in to comment.