mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
test: add start timeout warning in cli.test
This commit is contained in:
parent
0aff524d3b
commit
7103b34ec8
@ -59,6 +59,10 @@ test.serial('nuxt start', async t => {
|
||||
iterator++
|
||||
}
|
||||
|
||||
if (iterator === 80) {
|
||||
t.log('WARN: server failed to start successfully in 20 seconds')
|
||||
}
|
||||
|
||||
t.is(error, undefined)
|
||||
t.true(stdout.includes('OPEN'))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user