From 7103b34ec86ade38058a1e28facbd654c9ac7f0a Mon Sep 17 00:00:00 2001 From: Clark Du Date: Fri, 9 Mar 2018 10:09:22 +0800 Subject: [PATCH] test: add start timeout warning in cli.test --- test/cli.test.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/cli.test.js b/test/cli.test.js index 6fadf78619..0696de2c67 100644 --- a/test/cli.test.js +++ b/test/cli.test.js @@ -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'))