tests: update with-config

Two index files are generated now so increase assets.length by 1
This commit is contained in:
Pooya Parsa 2017-07-11 13:40:46 +04:30
parent 107d36c851
commit 75d933aac6

View File

@ -90,7 +90,7 @@ test('/test/about-bis (added with extendRoutes)', async t => {
test('Check stats.json generated by build.analyze', t => { test('Check stats.json generated by build.analyze', t => {
const stats = require(resolve(__dirname, 'fixtures/with-config/.nuxt/dist/stats.json')) const stats = require(resolve(__dirname, 'fixtures/with-config/.nuxt/dist/stats.json'))
t.is(stats.assets.length, 26) t.is(stats.assets.length, 27)
}) })
test('Check /test.txt with custom serve-static options', async t => { test('Check /test.txt with custom serve-static options', async t => {