From b443d9a92badcda2a6f6cbdb357acf31366b1509 Mon Sep 17 00:00:00 2001 From: Aria Minaei Date: Sun, 30 Jul 2023 20:49:26 +0200 Subject: [PATCH] Increase the timeout in compat tests --- compat-tests/utils/testUtils.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/compat-tests/utils/testUtils.ts b/compat-tests/utils/testUtils.ts index e3e1f61..20e1ea4 100644 --- a/compat-tests/utils/testUtils.ts +++ b/compat-tests/utils/testUtils.ts @@ -29,7 +29,10 @@ export function testServerAndPage({ await Promise.race([ d.promise, new Promise((_, reject) => - setTimeout(() => reject(`Server wasn't ready after 30 seconds`), 30000), + setTimeout( + () => reject(`Server wasn't ready after two minutes`), + 1000 * 60 * 2, + ), ), ])