From 56dbb843ef273f1b0f2528973a743f678aaf64a1 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Tue, 13 Mar 2018 15:39:41 +0330 Subject: [PATCH] fix tests --- test/cli.test.js | 2 +- test/with-config.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/cli.test.js b/test/cli.test.js index 6099a6e441..6afe5493f1 100644 --- a/test/cli.test.js +++ b/test/cli.test.js @@ -14,7 +14,7 @@ const url = route => 'http://localhost:' + port + route const nuxtBin = resolve(__dirname, '..', 'bin', 'nuxt') test.serial('nuxt build', async t => { - const { stdout, stderr } = await execify(`node ${nuxtBin} build ${rootDir}`) + const { stdout } = await execify(`node ${nuxtBin} build ${rootDir}`) t.true(stdout.includes('server-bundle.json')) }) diff --git a/test/with-config.test.js b/test/with-config.test.js index 28b547184a..8900379d10 100644 --- a/test/with-config.test.js +++ b/test/with-config.test.js @@ -176,7 +176,7 @@ test('Check stats.json generated by build.analyze', t => { __dirname, 'fixtures/with-config/.nuxt/dist/stats.json' )) - t.is(stats.assets.length, 35) + t.is(stats.assets.length, 34) }) test('Check /test/test.txt with custom serve-static options', async t => {