test: bump bundle size test by 100 bytes

This commit is contained in:
Daniel Roe 2023-04-01 10:11:48 +01:00
parent 822202239c
commit 5785908ec6

View File

@ -40,7 +40,7 @@ describe.skipIf(isWindows || process.env.ECOSYSTEM_CI)('minimal nuxt application
it('default server bundle size', async () => { it('default server bundle size', async () => {
stats.server = await analyzeSizes(['**/*.mjs', '!node_modules'], serverDir) stats.server = await analyzeSizes(['**/*.mjs', '!node_modules'], serverDir)
expect(stats.server.totalBytes).toBeLessThan(93200) expect(stats.server.totalBytes).toBeLessThan(93300)
const modules = await analyzeSizes('node_modules/**/*', serverDir) const modules = await analyzeSizes('node_modules/**/*', serverDir)
expect(modules.totalBytes).toBeLessThan(2694900) expect(modules.totalBytes).toBeLessThan(2694900)