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 Jan 17, 2024
1 parent 1f151c7 commit 9f254be
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(`"419k"`)
.toMatchInlineSnapshot(`"422k"`)

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

const packages = modules.files
.filter(m => m.endsWith('package.json'))
Expand Down Expand Up @@ -125,6 +125,7 @@ describe('project sizes', () => {
"hast-util-to-string",
"hastscript",
"html-void-elements",
"image-meta",
"is-absolute-url",
"is-alphabetical",
"is-alphanumerical",
Expand Down

0 comments on commit 9f254be

Please sign in to comment.