diff --git a/test/unit/bundle.spec.ts b/test/unit/bundle.spec.ts index a541bcc2..aa73cef1 100644 --- a/test/unit/bundle.spec.ts +++ b/test/unit/bundle.spec.ts @@ -34,6 +34,9 @@ describe('project sizes', () => { it('default client bundle size', async () => { stats.client = await analyzeSizes(['**/*.js', '!_scripts/**'], publicDir) + expect + .soft(roundToKilobytes(stats.client.totalBytes)) + .toMatchInlineSnapshot(`"281k"`) expect.soft(stats.client.files.map(f => f.replace(/\..*\.js/, '.js').replace(/_scripts\/.*\.js/, '_scripts/script.js')).sort()) .toMatchInlineSnapshot(` [