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 Apr 9, 2024
1 parent 2c211f2 commit 87e3831
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 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(`"878k"`)
.toMatchInlineSnapshot(`"671k"`)

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

const packages = modules.files
.filter(m => m.endsWith('package.json'))
Expand All @@ -102,9 +102,6 @@ describe('project sizes', () => {
"@shikijs/transformers",
"@sindresorhus/is",
"@ungap/structured-clone",
"@unhead/dom",
"@unhead/shared",
"@unhead/ssr",
"@vue/compiler-core",
"@vue/compiler-dom",
"@vue/reactivity",
Expand Down Expand Up @@ -142,7 +139,6 @@ describe('project sizes', () => {
"hast-util-to-parse5",
"hast-util-to-string",
"hastscript",
"hookable",
"html-void-elements",
"image-meta",
"is-absolute-url",
Expand Down Expand Up @@ -223,7 +219,6 @@ describe('project sizes', () => {
"trough",
"ts-custom-error",
"uint8arrays",
"unhead",
"unicode-emoji-modifier-base",
"unified",
"unist-util-is",
Expand Down

0 comments on commit 87e3831

Please sign in to comment.