-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compat: tracking issue for running mocha test case #12886
Comments
@kt3k there's no 1633 in |
@bartlomieju Oh, it was 1630. The tool nps stops on the error about
|
#13553 resolved many issues in mocha compatibility! |
Here https://github.com/mochajs/mocha/blob/d7f6ea5f5d8406204053618c708634dbf5aa9670/lib/nodejs/parallel-buffered-runner.js#L14, mocha shadows |
Maybe we can fake |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
I was testing this with the alias |
The major cases like the below seem passing now. Closing as fixed:
|
This issue tracks the progress of running the test cases of mocha repository.
test.node
categoryfind-up
test case #12999nps build
failed because of zlib.gzip is not available. This can be resolved by feat(node): add mock zlib module std#1698npx nps test.node.bdd
npx nps test.node.tdd
npx nps test.node.qunit
npx nps test.node.exports
blocked by compat: imported scripts are always handled as ESM #12648npx nps test.node.unit
blocked by compat: imported scripts are always handled as ESM #12648TypeError: process.allowedNodeEnvironmentFlags is not iterable
feat(node): add process.allowedNodeEnvironmentFlags std#2049should not pass if throwing async and test is async
npx nps test.node.integration
blocked byError: null
Uncaught TypeError: setInterval(...).unref is not a function
inmocha/lib/nodejs/parallel-buffered-runner.js
fix(node): make global.<timerFunc> Node.js timers std#2038Error: This script is intended to be run as a worker (by the
workerpoolpackage)
inmocha/lib/nodejs/worker.js
npx nps test.node.jsapi
(2 failures) (related touncaughtException
handler)npx nps test.node.requires
Module.prototype.load
causesCannot set properties of undefined
npx nps test.node.reporters
blocked by compat: imported scripts are always handled as ESM #12648npx nps test.node.only
npx nps test.node.only.bddRequire
blocked by compat: imported scripts are always handled as ESM #12648npx nps test.node.only.globalBdd
npx nps test.node.only.globalTdd
npx nps test.node.only.globalQunit
lint
categorynpx nps lint.markdown
doesn't work. Mocha depends on an ancient version of markdownlint-cli which depends on an ancient version of Commander which uses__proto__
in inheritance ref: https://github.com/tj/commander.js/blob/v2.3.0/index.js#L94npx nps lint.code
hangs without information. Needs more investigationOther issus
(These issues need further works to identify what exactly causes them)
fs-extra
, which depends onfs.realpath.native
Known issues which block this task:
find-up
test case #12999file://
scheme #13790ref: #12577
The text was updated successfully, but these errors were encountered: