Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
test: revert bundle size increase
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Apr 3, 2023
1 parent 3b6dd16 commit 866e89e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/bundle.test.ts
Expand Up @@ -40,10 +40,10 @@ describe.skipIf(isWindows || process.env.ECOSYSTEM_CI)('minimal nuxt application

it('default server bundle size', async () => {
stats.server = await analyzeSizes(['**/*.mjs', '!node_modules'], serverDir)
expect(stats.server.totalBytes).toBeLessThan(93400)
expect(stats.server.totalBytes).toBeLessThan(93300)

const modules = await analyzeSizes('node_modules/**/*', serverDir)
expect(modules.totalBytes).toBeLessThan(2695200)
expect(modules.totalBytes).toBeLessThan(2694900)

const packages = modules.files
.filter(m => m.endsWith('package.json'))
Expand Down

0 comments on commit 866e89e

Please sign in to comment.