Skip to content

fix(test): replace wmic usage with native Windows API in v11.x branch#5694

Open
hainenber wants to merge 3 commits intomochajs:v11.xfrom
hainenber:feat/replace-wmic-for-mocha-v11-tests
Open

fix(test): replace wmic usage with native Windows API in v11.x branch#5694
hainenber wants to merge 3 commits intomochajs:v11.xfrom
hainenber:feat/replace-wmic-for-mocha-v11-tests

Conversation

@hainenber
Copy link
Contributor

@hainenber hainenber commented Feb 7, 2026

PR Checklist

Overview

Fixes #5670

Replace wmic usage in Mocha v11 branch with native Windows API call to get list of children PIDs. I've modified to ensure new library calls are compatible with existing usage.

Acceptance of threshold should be green CI after all ;)

Signed-off-by: hainenber <dotronghai96@gmail.com>
Signed-off-by: hainenber <dotronghai96@gmail.com>
Signed-off-by: hainenber <dotronghai96@gmail.com>
@mark-wiemer mark-wiemer changed the title feat(test): replace wmic usage with native Windows API in v11.x branch fix(test): replace wmic usage with native Windows API in v11.x branch Feb 7, 2026
Copy link
Member

@mark-wiemer mark-wiemer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much!

@mark-wiemer
Copy link
Member

Test failure in the most recent run on this PR is long-known issue, I'm happy to merge, will give a few days for @mochajs/maintenance-crew to review :)

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.

2 participants