Skip to content

Commit 69e93b1

Browse files
committed
chore: increase test timeouts
1 parent 573ad47 commit 69e93b1

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/__tests__/e2e.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ describe("e2e", () => {
6969
await fixtureExeca`rm -f package-lock.json`
7070
await fixtureExeca`npm install astro @astrojs/node` // install directly so they stay on the latest version
7171
await fixtureExeca`npm link astro-validate-env`
72-
}, 30_000)
72+
})
7373

7474
describe("astro build", () => {
7575
it("succeeds and validates env", async () => {

vitest.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ const config = vitestConfig({
55
test: {
66
restoreMocks: true,
77
unstubEnvs: true,
8+
testTimeout: 30_000,
9+
hookTimeout: 120_000,
810
coverage: {
911
exclude: [...coverageConfigDefaults.exclude, "src/__tests__/fixture/**"],
1012
},

0 commit comments

Comments
 (0)