mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
test: adjust starting timeout to 20s
This commit is contained in:
parent
b2d285cd81
commit
0aff524d3b
@ -52,9 +52,9 @@ test.serial('nuxt start', async t => {
|
||||
exitCode = code
|
||||
})
|
||||
|
||||
// Give the process max 10s to start
|
||||
// Give the process max 20s to start
|
||||
let iterator = 0
|
||||
while (!stdout.includes('OPEN') && iterator < 40) {
|
||||
while (!stdout.includes('OPEN') && iterator < 80) {
|
||||
await Utils.waitFor(250)
|
||||
iterator++
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user