test: add start timeout warning in cli.test

This commit is contained in:
Clark Du 2018-03-09 10:09:22 +08:00
parent 0aff524d3b
commit 7103b34ec8

View File

@ -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'))