Mocha does not catch crash in native extension #3490
Labels
area: integrations
related to working with 3rd party software (e.g., babel, typescript)
invalid
not something we need to work on, such as a non-reproducing issue or an external root cause
type: question
support question
Prerequisites
faq
labelnode node_modules/.bin/mocha --version
(Local) andmocha --version
(Global). We recommend avoiding the use of globally installed Mocha.Description
Hi,
I am running tests with electron-mocha which runs mocha behind the scenes AFAIK.
That's the output from CI:
So kinda "no pasa nada" even though the node process got wrecked. Is there any way to catch those kinds of errors in Node.js?
Steps to Reproduce
Expected behavior: [What you expect to happen]
Return non-zero exit code
Actual behavior: [What actually happens]
Presumably mocha exits with zero code
Reproduces how often: [What percentage of the time does it reproduce?]
Always
Versions
mocha --version
andnode node_modules/.bin/mocha --version
: n/a | 5.2.0node --version
: v10.2.1Additional Information
The text was updated successfully, but these errors were encountered: