test: update async size test

This commit is contained in:
Pooya Parsa 2022-07-01 12:42:24 +02:00
parent b9f5cfe8d2
commit 23e2018a1a
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ describe('nuxt basic resources size limit', () => {
it('should stay within the size limit range in legacy mode', async () => {
const legacyResourcesSize = await getResourcesSize(distDir, 'client', { gzip: true, brotli: true })
const LEGACY_JS_RESOURCES_KB_SIZE = 240
const LEGACY_JS_RESOURCES_KB_SIZE = 253
expect(legacyResourcesSize.uncompressed).toBeWithinSize(LEGACY_JS_RESOURCES_KB_SIZE)
const LEGACY_JS_RESOURCES_GZIP_KB_SIZE = 83