Skip to content

Commit

Permalink
test: update async size test
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Jul 1, 2022
1 parent b9f5cfe commit 23e2018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/dev/async-config.size-limit.test.js
Expand Up @@ -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
Expand Down

0 comments on commit 23e2018

Please sign in to comment.