Skip to content

Commit

Permalink
chore: apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Nov 24, 2024
1 parent 36eb660 commit a2e983e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/unit/bundle.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@ describe('project sizes', () => {
stats.server = await analyzeSizes(['**/*.mjs', '!node_modules'], serverDir)
expect
.soft(roundToKilobytes(stats.server.totalBytes))
.toMatchInlineSnapshot(`"443k"`)
.toMatchInlineSnapshot(`"442k"`)

const modules = await analyzeSizes('node_modules/**/*', serverDir)
expect
.soft(roundToKilobytes(modules.totalBytes))
.toMatchInlineSnapshot(`"8325k"`)
.toMatchInlineSnapshot(`"8337k"`)

const packages = modules.files
.filter(m => m.endsWith('package.json'))
Expand Down Expand Up @@ -126,6 +126,7 @@ describe('project sizes', () => {
"character-entities-legacy",
"character-reference-invalid",
"comma-separated-tokens",
"consola",
"core-util-is",
"cssfilter",
"debug",
Expand Down

0 comments on commit a2e983e

Please sign in to comment.