Fix tests

This commit is contained in:
Sébastien Chopin 2017-03-24 16:11:56 +01:00
parent 52d1df7a24
commit 221bcb5e33
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ export default function ({ isClient, isServer }) {
publicPath: (isUrl(this.options.build.publicPath) ? this.options.build.publicPath : urlJoin(this.options.router.base, this.options.build.publicPath))
},
performance: {
maxEntrypointSize: 300000,
maxEntrypointSize: 400000,
hints: (this.dev ? false : 'warning')
},
resolve: {

View File

@ -62,7 +62,7 @@ test('/test/about-bis (added with extendRoutes)', async t => {
test('Check stats.json generated by build.analyze', t => {
const stats = require(resolve(__dirname, 'fixtures/with-config/.nuxt/dist/stats.json'))
t.is(stats.assets.length, 12)
t.is(stats.assets.length, 19)
})
// Close server and ask nuxt to stop listening to file changes