mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 09:27:13 +00:00
test: fix uncompressed resource size
This commit is contained in:
parent
3d33dab20e
commit
68cb231094
@ -21,7 +21,7 @@ describe('nuxt minimal vue-app bundle size limit', () => {
|
|||||||
const filter = filename => filename === 'vue-app.nuxt.js'
|
const filter = filename => filename === 'vue-app.nuxt.js'
|
||||||
const legacyResourcesSize = await getResourcesSize(distDir, 'client', { filter })
|
const legacyResourcesSize = await getResourcesSize(distDir, 'client', { filter })
|
||||||
|
|
||||||
const LEGACY_JS_RESOURCES_KB_SIZE = 15.4
|
const LEGACY_JS_RESOURCES_KB_SIZE = 15.7
|
||||||
expect(legacyResourcesSize.uncompressed).toBeWithinSize(LEGACY_JS_RESOURCES_KB_SIZE)
|
expect(legacyResourcesSize.uncompressed).toBeWithinSize(LEGACY_JS_RESOURCES_KB_SIZE)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user