Skip to content

Commit

Permalink
Add a timeout config for unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nazarhussain committed Jan 28, 2025
1 parent f43cbfd commit 3f942fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions configs/vitest.base.unit.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,7 @@ export default defineConfig({
? path.join(import.meta.dirname, "../scripts/vitest/vitest.diff.ts")
: undefined,
onConsoleLog: () => !process.env.TEST_QUIET_CONSOLE,
testTimeout: 10_000,
hookTimeout: 10_000,
},
});

0 comments on commit 3f942fe

Please sign in to comment.