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 20, 2024
1 parent ac40995 commit 72fb450
Showing 1 changed file with 30 additions and 2 deletions.
32 changes: 30 additions & 2 deletions test/unit/bundle.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,12 @@ describe('project sizes', () => {
stats.server = await analyzeSizes(['**/*.mjs', '!node_modules'], serverDir)
expect
.soft(roundToKilobytes(stats.server.totalBytes))
.toMatchInlineSnapshot(`"430k"`)
.toMatchInlineSnapshot(`"432k"`)

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

const packages = modules.files
.filter(m => m.endsWith('package.json'))
Expand All @@ -99,6 +99,8 @@ describe('project sizes', () => {
"@atproto/syntax",
"@atproto/xrpc",
"@babel/parser",
"@sanity/client",
"@sanity/eventsource",
"@shikijs/core",
"@shikijs/engine-javascript",
"@shikijs/engine-oniguruma",
Expand All @@ -125,8 +127,11 @@ describe('project sizes', () => {
"character-entities-legacy",
"character-reference-invalid",
"comma-separated-tokens",
"core-util-is",
"cssfilter",
"debug",
"decode-named-character-reference",
"decompress-response",
"detab",
"devalue",
"devlop",
Expand All @@ -138,9 +143,12 @@ describe('project sizes', () => {
"estree-walker",
"events-to-async",
"events-to-async/module",
"eventsource",
"extend",
"feed",
"flat",
"follow-redirects",
"get-it",
"github-slugger",
"graphemer",
"hast-util-from-parse5",
Expand All @@ -155,12 +163,15 @@ describe('project sizes', () => {
"hookable",
"html-void-elements",
"image-meta",
"inherits",
"is-absolute-url",
"is-alphabetical",
"is-alphanumerical",
"is-decimal",
"is-hexadecimal",
"is-plain-obj",
"is-retry-allowed",
"isarray",
"iso-datestring-validator",
"js-yaml",
"longest-streak",
Expand Down Expand Up @@ -205,12 +216,18 @@ describe('project sizes', () => {
"micromark-util-resolve-all",
"micromark-util-sanitize-uri",
"micromark-util-subtokenize",
"mimic-response",
"ms",
"multiformats",
"node-emoji",
"oniguruma-to-es",
"parse-entities",
"parse5",
"process-nextick-args",
"progress-stream",
"property-information",
"readable-stream",
"readable-stream/node_modules/safe-buffer",
"rehype-external-links",
"rehype-raw",
"rehype-sort-attribute-values",
Expand All @@ -220,17 +237,26 @@ describe('project sizes', () => {
"remark-mdc",
"remark-parse",
"remark-rehype",
"rxjs",
"safe-buffer",
"sax",
"scule",
"shiki",
"skin-tone",
"source-map-js",
"space-separated-tokens",
"speedometer",
"string_decoder",
"string_decoder/node_modules/safe-buffer",
"stringify-entities",
"supports-color",
"through2",
"tlds",
"trim-lines",
"trough",
"ts-custom-error",
"tunnel-agent",
"tunnel-agent/node_modules/safe-buffer",
"uint8arrays",
"unhead",
"unicode-emoji-modifier-base",
Expand All @@ -240,13 +266,15 @@ describe('project sizes', () => {
"unist-util-stringify-position",
"unist-util-visit",
"unist-util-visit-parents",
"util-deprecate",
"vfile",
"vfile-location",
"vfile-message",
"vue",
"web-namespaces",
"xml-js",
"xss",
"xtend",
"zod",
"zwitch",
]
Expand Down

0 comments on commit 72fb450

Please sign in to comment.