From b183ab296f6a2c975348ee5adb32fed4f4717301 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Tue, 13 Mar 2018 16:23:09 +0330 Subject: [PATCH] fix cli test --- test/cli.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/cli.test.js b/test/cli.test.js index 6afe5493f1..4d8449a58c 100644 --- a/test/cli.test.js +++ b/test/cli.test.js @@ -16,7 +16,7 @@ const nuxtBin = resolve(__dirname, '..', 'bin', 'nuxt') test.serial('nuxt build', async t => { const { stdout } = await execify(`node ${nuxtBin} build ${rootDir}`) - t.true(stdout.includes('server-bundle.json')) + t.true(stdout.includes('Compiled successfully')) }) test.serial('nuxt build -> error config', async t => { @@ -92,5 +92,5 @@ test.serial('nuxt start', async t => { test.serial('nuxt generate', async t => { const { stdout } = await execify(`node ${nuxtBin} generate ${rootDir}`) - t.true(stdout.includes('server-bundle.json')) + t.true(stdout.includes('vue-ssr-client-manifest.json')) })