mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 22:25:12 +00:00
tests: update with-config
Two index files are generated now so increase assets.length by 1
This commit is contained in:
parent
107d36c851
commit
75d933aac6
@ -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 => {
|
||||||
|
Loading…
Reference in New Issue
Block a user