Skip to content

test: cover server analyzer mode - #729

Open
mgalore wants to merge 1 commit into
webpack:mainfrom
mgalore:test/server-analyzer-mode
Open

test: cover server analyzer mode#729
mgalore wants to merge 1 commit into
webpack:mainfrom
mgalore:test/server-analyzer-mode

Conversation

@mgalore

@mgalore mgalore commented Jul 28, 2026

Copy link
Copy Markdown

Summary

  • add integration coverage for analyzerMode: "server" on Webpack 4 and 5
  • verify the server listens on an automatically allocated port and receives the configured URL callback
  • close HTTP and WebSocket servers after each test to avoid leaked handles

Closes #727

Verification

  • npm run test:coverage
  • npm run lint
  • npm run build
  • git diff --check

@changeset-bot

changeset-bot Bot commented Jul 28, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: d83ad8c

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

@linux-foundation-easycla

Copy link
Copy Markdown

CLA Not Signed

@codecov

codecov Bot commented Jul 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.90%. Comparing base (83a8ee5) to head (d83ad8c).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #729      +/-   ##
==========================================
+ Coverage   76.29%   76.90%   +0.61%     
==========================================
  Files          17       17              
  Lines         983      983              
  Branches      358      358              
==========================================
+ Hits          750      756       +6     
+ Misses        206      201       -5     
+ Partials       27       26       -1     

☔ 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.

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.

Help us add missing test coverage for analyzerMode: "server"

2 participants