Skip to content

test: move unit tests into unitCases - #22132

Merged
alexander-akait merged 1 commit into
mainfrom
coderabbit/test-unit-cases
Sep 16, 2026
Merged

alexander-akait merged 1 commit into
mainfrom
coderabbit/test-unit-cases

Conversation

@alexander-akait

@alexander-akait alexander-akait commented Sep 16, 2026 •

Copy link
Copy Markdown
Member

Summary

Move root-level unit tests and their snapshots into test/unitCases/ so each test family has a dedicated directory.

What kind of change does this PR introduce?

test

Did you add tests for your changes?

No new coverage; all 120 existing unit suites were relocated and validated from their new paths.

Does this PR introduce a breaking change?

No.

If relevant, what needs to be documented once your changes are merged or what have you already documented?

Updated AGENTS.md and TESTING_DOCS.md.

Use of AI

CodeRabbit moved the files, updated path-sensitive configuration and references, and ran validation under Alexander Akait's direction.

Final Prompt

Open PR

Final Plan

Opened PR #22132.

  • 🛠️ test/unitCases/** — 120 tests + 4 snapshots relocated, +644/-634
  • 🛠️ Discovery, docs, and references — +29/-29
  • Total: 132 files, 124 renames, +673/-663

Validation: yarn lint passed. Unit suite: 119/120 suites passed; the only failure requires unavailable local Chrome.

Branches on origin: coderabbit/test-unit-cases.

Initiative Context

  • Initiated by: <@804322045785014312>

Summary by CodeRabbit

  • Documentation

    • Updated testing documentation and references to reflect the new unit-test directory structure.
  • Tests

    • Unit tests are now discovered and executed from the dedicated test/unitCases directory.
    • Corrected test references and paths following the reorganization.
    • Integration and unit-test commands now use separate test patterns.
    • Type-checking and spell-checking configurations recognize the relocated tests.

@changeset-bot

changeset-bot Bot commented Sep 16, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: abeb054

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai

coderabbitai Bot commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 85c63255-ee2b-4695-a1fc-84bc120f950b

📥 Commits

Reviewing files that changed from the base of the PR and between 98eca49 and abeb054.

⛔ Files ignored due to path filters (4)
  • test/unitCases/__snapshots__/CssSyntax.unittest.js.snap is excluded by !**/*.snap, !test/**/__snapshots__/**
  • test/unitCases/__snapshots__/HtmlSyntax.unittest.js.snap is excluded by !**/*.snap, !test/**/__snapshots__/**
  • test/unitCases/__snapshots__/extractSourceMap.unittest.js.snap is excluded by !**/*.snap, !test/**/__snapshots__/**
  • test/unitCases/__snapshots__/target-browserslist.unittest.js.snap is excluded by !**/*.snap, !test/**/__snapshots__/**
📒 Files selected for processing (128)
  • AGENTS.md
  • TESTING_DOCS.md
  • cspell.json
  • jest.config.js
  • lib/util/globUtils.js
  • package.json
  • test/configCases/side-effects/deep-import-chain/webpack.config.js
  • test/unitCases/AbstractMethodError.unittest.js
  • test/unitCases/ArrayHelpers.unittest.js
  • test/unitCases/ArrayQueue.unittest.js
  • test/unitCases/Async.unittest.js
  • test/unitCases/AsyncQueue.unittest.js
  • test/unitCases/BasicEvaluatedExpression.unittest.js
  • test/unitCases/BatchedHash.unittest.js
  • test/unitCases/BinaryMiddleware.unittest.js
  • test/unitCases/BulkUpdateHash.unittest.js
  • test/unitCases/CheckCommentLength.unittest.js
  • test/unitCases/Chunk.unittest.js
  • test/unitCases/ChunkGraph.unittest.js
  • test/unitCases/CodeSizeReport.unittest.js
  • test/unitCases/CompareToolsHarness.unittest.js
  • test/unitCases/ConcatenateUtil.unittest.js
  • test/unitCases/ContextModuleFactory.unittest.js
  • test/unitCases/CssIcssExportDependency.unittest.js
  • test/unitCases/CssSyntax.unittest.js
  • test/unitCases/CssValueSyntax.unittest.js
  • test/unitCases/Defaults.unittest.js
  • test/unitCases/EcmaConformance.unittest.js
  • test/unitCases/ErrorHelpers.unittest.js
  • test/unitCases/ExportsInfo.unittest.js
  • test/unitCases/FileMiddleware.unittest.js
  • test/unitCases/FileSystemInfo.unittest.js
  • test/unitCases/Generator.unittest.js
  • test/unitCases/HotModuleReplacementPlugin.unittest.js
  • test/unitCases/HtmlEntryWrapper.unittest.js
  • test/unitCases/HtmlGenerator.unittest.js
  • test/unitCases/HtmlParser.unittest.js
  • test/unitCases/HtmlSyntax.unittest.js
  • test/unitCases/ImportMetaRoundTrip.unittest.js
  • test/unitCases/JavascriptParser.unittest.js
  • test/unitCases/LazyBucketSortedSet.unittest.js
  • test/unitCases/LazyCompilationBackend.unittest.js
  • test/unitCases/LazySet.unittest.js
  • test/unitCases/LoaderRunner.unittest.js
  • test/unitCases/LocConverter.unittest.js
  • test/unitCases/ModuleGraph.unittest.js
  • test/unitCases/MultiItemCache.unittest.js
  • test/unitCases/MultiWatching.unittest.js
  • test/unitCases/NodeWatchFileSystem.unittest.js
  • test/unitCases/NormalModule.unittest.js
  • test/unitCases/Normalization.unittest.js
  • test/unitCases/ObjectMiddleware.unittest.js
  • test/unitCases/ParallelismFactorCalculator.unittest.js
  • test/unitCases/Parser.unittest.js
  • test/unitCases/ParserWithoutAcorn.unittest.js
  • test/unitCases/Platform.unittest.js
  • test/unitCases/ProfilingPlugin.unittest.js
  • test/unitCases/ProvideSharedDependency.unittest.js
  • test/unitCases/Queue.unittest.js
  • test/unitCases/RegExpValidator.unittest.js
  • test/unitCases/ReplacementPlugins.unittest.js
  • test/unitCases/RequestShortener.unittest.js
  • test/unitCases/ResourceHintPlugin.unittest.js
  • test/unitCases/RuleSetCompiler.unittest.js
  • test/unitCases/RuntimeTemplate.unittest.js
  • test/unitCases/ScopeAnalyzer.unittest.js
  • test/unitCases/ScopeAnalyzerParity.unittest.js
  • test/unitCases/SemVer.unittest.js
  • test/unitCases/Semaphore.unittest.js
  • test/unitCases/SetHelpers.unittest.js
  • test/unitCases/Setup.unittest.js
  • test/unitCases/SharingUtil.unittest.js
  • test/unitCases/SortableSet.unittest.js
  • test/unitCases/SourceProcessor.unittest.js
  • test/unitCases/StackedCacheMap.unittest.js
  • test/unitCases/StackedMap.unittest.js
  • test/unitCases/StringXor.unittest.js
  • test/unitCases/SyntaxEquivalence.unittest.js
  • test/unitCases/Template.unittest.js
  • test/unitCases/TemplatedPathPlugin.unittest.js
  • test/unitCases/TupleQueue.unittest.js
  • test/unitCases/TupleSet.unittest.js
  • test/unitCases/URLAbsoluteSpecifier.unittest.js
  • test/unitCases/URLDependency.unittest.js
  • test/unitCases/WasmHashes.unittest.js
  • test/unitCases/WeakTupleMap.unittest.js
  • test/unitCases/WebManifestParser.unittest.js
  • test/unitCases/WebpackError.unittest.js
  • test/unitCases/WebpackParser.unittest.js
  • test/unitCases/cleverMerge.unittest.js
  • test/unitCases/collectCjsRequireSpecifiers.unittest.js
  • test/unitCases/comparators.unittest.js
  • test/unitCases/compareLocations.unittest.js
  • test/unitCases/compareSourceOrder.unittest.js
  • test/unitCases/compareStringsNumeric.unittest.js
  • test/unitCases/compileBooleanMatcher.unittest.js
  • test/unitCases/conventions.unittest.js
  • test/unitCases/createMappings.unittest.js
  • test/unitCases/cssIdentifier.unittest.js
  • test/unitCases/dataURL.unittest.js
  • test/unitCases/deterministicGrouping.unittest.js
  • test/unitCases/extractSourceMap.unittest.js
  • test/unitCases/findCaseMismatch.unittest.js
  • test/unitCases/findGraphRoots.unittest.js
  • test/unitCases/formatLocation.unittest.js
  • test/unitCases/formatSize.unittest.js
  • test/unitCases/fs.unittest.js
  • test/unitCases/getPathInAst.unittest.js
  • test/unitCases/globUtils.unittest.js
  • test/unitCases/hash-digest.unittest.js
  • test/unitCases/identifier.unittest.js
  • test/unitCases/internalSerializables.unittest.js
  • test/unitCases/lazyModule.unittest.js
  • test/unitCases/magicComment.unittest.js
  • test/unitCases/mimeTypes.unittest.js
  • test/unitCases/nonNumericOnlyHash.unittest.js
  • test/unitCases/numberHash.unittest.js
  • test/unitCases/objectToMap.unittest.js
  • test/unitCases/parseJson.unittest.js
  • test/unitCases/processAsyncTree.unittest.js
  • test/unitCases/propertyAccess.unittest.js
  • test/unitCases/propertyName.unittest.js
  • test/unitCases/publicPathPlaceholder.unittest.js
  • test/unitCases/removeBOM.unittest.js
  • test/unitCases/smartGrouping.unittest.js
  • test/unitCases/target-browserslist.unittest.js
  • test/unitCases/topologicalSort.unittest.js
  • tsconfig.types.test.json

Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.


📝 Walkthrough

Walkthrough

Changes

Unit-test files now reside under test/unitCases. Test discovery, scripts, TypeScript configuration, documentation, snapshots, imports, fixtures, and related comments now reference the new location.

Unit test relocation

Layer / File(s) Summary
Test discovery and documentation
jest.config.js, package.json, tsconfig.types.test.json, TESTING_DOCS.md, AGENTS.md, cspell.json
Unit-test globs, commands, documentation, ignored paths, and snapshot references now use test/unitCases.
Relocated test paths
test/unitCases/*
Relative imports, JSDoc types, fixtures, output paths, repository roots, and configuration paths were adjusted for the deeper directory. Test logic and assertions remain unchanged.

Priority: ⬇️ Low

Change: Other

Merge Risk: ⚪ Minimal · up to abeb0

The unit-test relocation preserves the reviewed discovery and path-resolution behavior, with no active merge-blocking risk identified.

🚥 Pre-merge checks | ✅ 3 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title uses the valid test: subject Conventional Commit form and accurately describes the unit-test relocation. The branch prefix is not provided, so the required type-prefix match cannot be veri… Provide the branch name or confirm that its prefix is test. If confirmed, the title passes; otherwise, change the title type to match the branch prefix.
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title uses the valid test: subject Conventional Commit form and accurately describes the unit-test relocation. The branch prefix is not provided, so the required type-prefix match cannot be verified.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

This PR is packaged and the instant preview is available (f9817c9).

Install it locally:

  • npm
npm i -D webpack@https://pkg.pr.new/webpack@f9817c9
  • yarn
yarn add -D webpack@https://pkg.pr.new/webpack@f9817c9
  • pnpm
pnpm add -D webpack@https://pkg.pr.new/webpack@f9817c9

@github-actions

Copy link
Copy Markdown
Contributor

Types Coverage

Coverage after merging coderabbit/test-unit-cases into main will be
98.36%
Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
bin
   webpack.js98.82%100%100%98.82%103
examples
   build-common.js100%100%100%100%
   buildAll.js100%100%100%100%
   examples.js100%100%100%100%
   template-common.js98.21%100%100%98.21%72
examples/custom-javascript-parser
   test.filter.js100%100%100%100%
examples/custom-javascript-parser/internals
   acorn-parse.js100%100%100%100%
   meriyah-parse.js100%100%100%100%
   oxc-parse.js100%100%100%100%
examples/markdown
   webpack.config.mjs100%100%100%100%
examples/module-federation
   test.filter.js100%100%100%100%
examples/reexport-components
   test.filter.js100%100%100%100%
examples/typescript
   test.filter.js100%100%100%100%
examples/typescript-non-erasable
   test.filter.js50%100%100%50%5
examples/virtual-modules
   test.filter.js100%100%100%100%
examples/wasm-bindgen-esm
   test.filter.js100%100%100%100%
examples/wasm-complex
   test.filter.js100%100%100%100%
examples/wasm-emscripten
   test.filter.js100%100%100%100%
examples/wasm-simple
   test.filter.js100%100%100%100%
examples/wasm-simple-source-phase
   test.filter.js100%100%100%100%
lib
   APIPlugin.js100%100%100%100%
   AsyncDependenciesBlock.js100%100%100%100%
   AutomaticPrefetchPlugin.js93.94%100%100%93.94%59, 62
   BannerPlugin.js100%100%100%100%
   Cache.js96.49%100%100%96.49%10, 104
   CacheFacade.js100%100%100%100%
   Chunk.js99.72%100%100%99.72%42
   ChunkGraph.js100%100%100%100%
   ChunkGroup.js100%100%100%100%
   ChunkTemplate.js100%100%100%100%
   CircularModulesPlugin.js99.50%100%100%99.50%289
   CleanPlugin.js97.81%100%100%97.81%111, 125, 128, 212, 232
   CodeGenerationResults.js100%100%100%100%
   CompatibilityPlugin.js100%100%100%100%
   Compilation.js98.59%100%100%98.59%1760, 2081, 2088, 2096, 2118, 2121, 3060, 3539–3540, 3572, 4161, 4165, 4264, 4285, 4410, 4447, 4454, 4507–4508, 4512, 4517, 4533–4534, 4548–4549, 4554–4555, 46, 5078, 5104, 5943, 5960, 5978, 5994, 6009, 6034, 6037, 6405, 6408–6409, 6414, 6429, 6512, 6536, 6650, 840–841
   Compiler.js98.81%100%100%98.81%1117, 1154, 1157, 1337–1338, 1346, 848, 934, 975
   ConcatenationScope.js99.10%100%100%99.10%293
   ConditionalInitFragment.js100%100%100%100%
   ConstPlugin.js100%100%100%100%
   CopyPlugin.js99.79%100%100%99.79%160
   DefinePlugin.js99.14%100%100%99.14%1127, 200–201, 217, 236, 310
   DependenciesBlock.js100%100%100%100%
   Dependency.js98.54%100%100%98.54%498, 545
   DependencyTemplate.js100%100%100%100%
   DependencyTemplates.js100%100%100%100%
   DotenvPlugin.js98.07%100%100%98.07%395, 443, 456–457
   DynamicEntryPlugin.js100%100%100%100%
   EntryOptionPlugin.js100%100%100%100%
   EntryPlugin.js100%100%100%100%
   Entrypoint.js100%100%100%100%
   EnvironmentPlugin.js97.14%100%100%97.14%49
   ErrorHelpers.js98.85%100%100%98.85%138
   EvalDevToolModulePlugin.js100%100%100%100%
   EvalSourceMapDevToolPlugin.js100%100%100%100%
   ExportsInfo.js99.26%100%100%99.26%415, 431, 763, 860, 878, 922, 927
   ExportsInfoApiPlugin.js100%100%100%100%
   ExternalModule.js98.78%100%100%98.78%1363, 1366, 596–600, 602, 768
   ExternalModuleFactoryPlugin.js100%100%100%100%
   ExternalsPlugin.js100%100%100%100%
   FileSystemInfo.js99.75%100%100%99.75%187, 285, 3947, 3962, 3986, 3989
   FlagAllModulesAsUsedPlugin.js100%100%100%100%
   FlagDependencyExportsPlugin.js95.64%100%100%95.64%119, 130, 147, 167, 171, 50, 52, 533, 538, 54, 545, 560, 563, 57
   FlagDependencyUsagePlugin.js100%100%100%100%
   FlagEntryExportAsUsedPlugin.js100%100%100%100%
   Generator.js100%100%100%100%
   HotModuleReplacementPlugin.js100%100%100%100%
   HotUpdateChunk.js100%100%100%100%
   IgnorePlugin.js100%100%100%100%
   IgnoreWarningsPlugin.js100%100%100%100%
   InitFragment.js100%100%100%100%
   JavascriptMetaInfoPlugin.js100%100%100%100%
   LazyBarrel.js100%100%100%100%
   LibraryTemplatePlugin.js100%100%100%100%
   LoaderOptionsPlugin.js100%100%100%100%
   LoaderTargetPlugin.js100%100%100%100%
   MainTemplate.js100%100%100%100%
   ManifestPlugin.js100%100%100%100%
   Module.js98.50%100%100%98.50%1327, 1332, 1391, 1405, 1467, 1476
   ModuleFactory.js100%100%100%100%
   ModuleFilenameHelpers.js98.90%100%100%98.90%111, 113
   ModuleGraph.js99.78%100%100%99.78%1181
   ModuleGraphConnection.js100%100%100%100%
   ModuleInfoHeaderPlugin.js100%100%100%100%
   ModuleNotFoundError.js100%100%100%100%
   ModuleProfile.js100%100%100%100%
   ModuleSourceTypeConstants.js100%100%100%100%
   ModuleTemplate.js100%100%100%100%
   ModuleTypeConstants.js100%100%100%100%
   MultiCompiler.js98.88%100%100%98.88%462, 542, 729, 794
   MultiStats.js100%100%100%100%
   MultiWatching.js93.75%100%100%93.75%37, 71
   NoEmitOnErrorsPlugin.js100%100%100%100%
   NodeStuffPlugin.js100%100%100%100%
   NormalModule.js98%100%100%98%1104, 1107, 1126, 1143, 1401, 1435, 1451, 1589, 1912, 2214, 2219–2227, 2229, 30
   NormalModuleFactory.js98.01%100%100%98.01%1341, 1644, 1661, 1670, 1674, 1702, 1709, 1713, 1718, 1730, 1741, 1790, 1801, 1811, 1862–1864, 1871, 732, 744
   NormalModuleReplacementPlugin.js100%100%100%100%
   NullFactory.js100%100%100%100%
   OptimizationStages.js100%100%100%100%
   OptionsApply.js100%100%100%100%
   Parser.js100%100%100%100%
   PlatformPlugin.js100%100%100%100%
   PrefetchPlugin.js100%100%100%100%
   ProgressPlugin.js99.80%100%100%99.80%694
   ProvidePlugin.js100%100%100%100%
   RawModule.js100%100%100%100%
   RecordIdsPlugin.js100%100%100%100%
   RequestShortener.js100%100%100%100%
   ResolverFactory.js100%100%100%100%
   RuntimeGlobals.js100%100%100%100%
   RuntimeModule.js100%100%100%100%
   RuntimePlugin.js95.53%100%100%95.53%317, 403, 412, 415, 428–429, 443, 461, 482–483, 506, 526–527, 563–564, 587, 600–601, 673, 686, 707, 726
   RuntimeTemplate.js99.66%100%100%99.66%352, 3752, 4589, 4601, 4606, 4608, 4613
   SelfModuleFactory.js100%100%100%100%
   SingleEntryPlugin.js100%100%100%100%
   SourceMapDevToolModuleOptionsPlugin.js100%100%100%100%
   SourceMapDevToolPlugin.js97.25%100%100%97.25%229, 233, 235, 429, 440, 469, 572, 575–576, 899, 920, 923
   Stats.js100%100%100%100%
   Template.js100%100%100%100%
   TemplatedPathPlugin.js99.48%100%100%99.48%366–367
   UseStrictPlugin.js100%100%100%100%
   WarnCaseSensitiveModulesPlugin.js100%100%100%100%
   WarnDeprecatedOptionPlugin.js100%100%100%100%
   WarnNoModeSetPlugin.js100%100%100%100%
   WatchIgnorePlugin.js100%100%100%100%
   Watching.js100%100%100%100%
   WebpackError.js100%100%100%100%
   WebpackIsIncludedPlugin.js100%100%100%100%
   WebpackOptionsApply.js100%100%100%100%
   WebpackOptionsDefaulter.js100%100%100%100%
   buildChunkGraph.js99.87%100%100%99.87%375
   cli.js98.63%100%100%98.63%10, 117, 547, 579, 629, 903
   index.js99.73%100%100%99.73%184
   validateSchema.js94.67%100%100%94.67%100, 87, 89, 98
   webpack.js97.12%100%100%97.12%10, 274, 296, 298
lib/asset
   AssetBytesGenerator.js100%100%100%100%
   AssetBytesParser.js100%100%100%100%
   AssetGenerator.js100%100%100%100%
   AssetModule.js100%100%100%100%
   AssetModulesPlugin.js98.15%100%100%98.15%338, 362, 365, 495, 57, 62
   AssetParser.js100%100%100%100%
   AssetSourceGenerator.js100%100%100%100%
   AssetSourceParser.js100%100%100%100%
   RawDataUrlModule.js100%100%100%100%
   WebManifestGenerator.js100%100%100%100%
   WebManifestParser.js100%100%100%100%
lib/async-modules
   AsyncModuleHelpers.js100%100%100%100%
   AwaitDependenciesInitFragment.js100%100%100%100%
   InferAsyncModulesPlugin.js100%100%100%100%
   isGeneratorLowered.js100%100%100%100%
lib/bun
   BunTargetPlugin.js100%100%100%100%
lib/cache
   AddBuildDependenciesPlugin.js100%100%100%100%
   AddManagedPathsPlugin.js100%100%100%100%
   IdleFileCachePlugin.js97.92%100%100%97.92%75, 87,

@github-actions

Copy link
Copy Markdown
Contributor

Generated code size

Comparing abeb054 merged into 98eca49 against 98eca49. Merging this pull request moves 1 asset(s) whose case source it changes too.

What moved Cases Assets Gzip Raw Case source
Changed, same case source 0 0 — — —
Changed, case source moved 1 1 🔴 ↑ +1 B 🔴 ↑ +92 B 🔴 ↑ +80 B
New 0 0 — — —
Deleted 0 0 — — —
Unchanged — 7715 — — —

Changed, same case source is the row that is webpack's doing — those assets are built from byte-identical module source, so what moved is what webpack generates. Changed, case source moved is mostly a case this pull request edited: Case source is how many bytes of module source those cases gained, which is what their output delta has to be read against, and a bundle that grew by less than its case did is not a regression. New and Deleted are whole assets rather than deltas, so a pull request adding cases cannot bury a real change. Gzip decides — it is what a user downloads, and a re-encoding can cut raw bytes while costing wire bytes; raw is the tiebreak, and brotli and zstd are per asset below.

No asset built from unchanged case source changed size — every change below comes with a case whose own source moved too.

1 asset(s) changed size, and so did their case's source
Asset Before After Change Gzip (9) Brotli (11) Zstd (19) Case source (per case)
🔴 ↑ module/import-meta-parser-options bundle0.mjs 20.19 KiB 20.28 KiB +92 B (+0.44%) +1 B (+0.02%) +6 B (+0.12%) +2 B (+0.04%) +80 B

No runtime gained or lost a runtime module.

Built test/configCases with the defaults a user gets: 2176 case(s), 7716 asset(s), 87 emitted nothing.

@codecov

codecov Bot commented Sep 16, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.89%. Comparing base (98eca49) to head (abeb054).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #22132   +/-   ##
=======================================
  Coverage   94.88%   94.89%           
=======================================
  Files         734      734           
  Lines      103485   103485           
  Branches    31846    31846           
=======================================
+ Hits        98194    98197    +3     
+ Misses       5291     5288    -3     
Flag Coverage Δ
css-parsing 23.89% <ø> (ø)
html5lib 27.05% <ø> (ø)
integration 84.40% <ø> (+<0.01%) ⬆️
syntax-equivalence 77.08% <ø> (ø)
test262 42.08% <ø> (ø)
unit 61.71% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@codspeed

codspeed Bot commented Sep 16, 2026

Copy link
Copy Markdown

Merging this PR will degrade performance by 25.49%

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

⚡ 4 improved benchmarks
❌ 3 regressed benchmarks
✅ 387 untouched benchmarks
⏩ 6 skipped benchmarks1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
❌ Memory benchmark "side-effects-reexport", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}' 153.9 KB 903.2 KB -82.96%
❌ Memory benchmark "many-chunks-commonjs", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}' 184.8 KB 467.4 KB -60.47%
❌ Memory benchmark "import-meta-glob", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}' 694.9 KB 1,020.3 KB -31.9%
⚡ Simulation benchmark "wasm-modules-sync", scenario '{"name":"mode-development","mode":"development"}' 1,142.3 ms 826.8 ms +38.16%
⚡ Memory benchmark "asset-modules-source", scenario '{"name":"mode-production","mode":"production"}' 8.4 MB 6.2 MB +34.93%
⚡ Memory benchmark "no-concatenation", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}' 902.6 KB 739.2 KB +22.1%
⚡ Memory benchmark "many-modules-interop-runtime", scenario '{"name":"mode-production","mode":"production"}', measure 'exec' 24.3 KB 19.9 KB +22.09%

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing coderabbit/test-unit-cases (abeb054) with main (e106879)2

Open in CodSpeed

Footnotes

  1. 6 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

  2. No successful run was found on main (98eca49) during the generation of this report, so e106879 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

@alexander-akait
alexander-akait merged commit f9817c9 into main Sep 16, 2026
65 checks passed
@alexander-akait
alexander-akait deleted the coderabbit/test-unit-cases branch September 16, 2026 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant