fix tests

This commit is contained in:
Pooya Parsa 2018-03-13 15:39:41 +03:30
parent f650763357
commit 56dbb843ef
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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 => {