Skip to content

Commit

Permalink
Adjust test timeout based on CI environment
Browse files Browse the repository at this point in the history
  • Loading branch information
aryaemami59 committed Jan 29, 2025
1 parent cbad484 commit 928b621
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { defineConfig } from 'vitest/config'

export default defineConfig({
test: {
testTimeout: 50000,
testTimeout: process.env.CI ? 100_000 : 50_000,
globalSetup: 'vitest-global.ts',
},
})

0 comments on commit 928b621

Please sign in to comment.