Increase the timeout in compat tests

This commit is contained in:
Aria Minaei 2023-07-30 20:49:26 +02:00 committed by Aria
parent f2317099a0
commit b443d9a92b

View file

@ -29,7 +29,10 @@ export function testServerAndPage({
await Promise.race([ await Promise.race([
d.promise, d.promise,
new Promise((_, reject) => 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,
),
), ),
]) ])