Skip to content

Migrate Mocha and test configuration to v12 - #26194

Open
Raymond Zhao (rzhao271) with Copilot wants to merge 2 commits into
mainfrom
copilot/migrate-mocha-config-to-v12
Open

Raymond Zhao (rzhao271) with Copilot wants to merge 2 commits into
mainfrom
copilot/migrate-mocha-config-to-v12

Conversation

Copilot AI commented Oct 2, 2026 •

Copy link
Copy Markdown

Upgrade Mocha to 12.0.2 using npm 11.19 with --min-release-age 7.

  • Configuration: Update debugger entrypoints and setup-module paths; load ambient declarations for TypeScript test runs.
  • Reporting: Replace incompatible multi/JUnit reporter dependencies with Mocha’s built-in Spec/XUnit reporters, preserving PID-prefixed console output and MOCHA_FILE.
  • Completion: Flush XML before notifying the extension-test socket server, preventing truncated reports.
  • Regression coverage: Cover passing, failing, and pending XML results, output-path precedence, and extension-test completion.

Copilot AI and others added 2 commits October 2, 2026 22:19
Co-authored-by: rzhao271 <7199958+rzhao271@users.noreply.github.com>
Co-authored-by: rzhao271 <7199958+rzhao271@users.noreply.github.com>
@rzhao271
Raymond Zhao (rzhao271) marked this pull request as ready for review October 2, 2026 22:54
@rzhao271
Raymond Zhao (rzhao271) enabled auto-merge (squash) October 2, 2026 22:54
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.

4 participants