Unverified Commit e869be76 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Update flakey empty-project test (#79734)

This test case has been flaking quite a bit so this increases the fetch
timeout delay as we mainly want to ensure the correct content is
rendered and it works not the duration.
parent 89d40df2
...@@ -13,7 +13,8 @@ describe('Empty Project', () => { ...@@ -13,7 +13,8 @@ describe('Empty Project', () => {
context.server = await launchApp(join(__dirname, '../'), context.appPort) context.server = await launchApp(join(__dirname, '../'), context.appPort)
}) })
const fetch = (p, q) => fetchViaHTTP(context.appPort, p, q, { timeout: 5000 }) const fetch = (p, q) =>
fetchViaHTTP(context.appPort, p, q, { timeout: 10_000 })
it('Should not time out and return 404', async () => { it('Should not time out and return 404', async () => {
const res = await fetch('/') const res = await fetch('/')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment