You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree to follow the Code of Conduct that this project adheres to.
I have searched the issue tracker for a feature request that matches the one I want to file, without success.
Electron Version
14.0.0
What operating system are you using?
macOS
Operating System Version
macOS 11.6, Ubuntu 20.04.3 LTS
What arch are you using?
x64
Last Known Working Electron version
13.1.8, 13.4.0
Expected Behavior
Electron runs Jest without native crashes.
Actual Behavior
Electron crashes (exited with signal SIGTRAP) at a random test-case when we run jest in electron
Testcase Gist URL
No response
Additional Information
Node 16.9.1 and Node v14.17.0 run all test cases without issues. We use several node addons and our custom one. To run it in Node we mocked all node addons with jest mocks. We also have JS test cases for node addons, but we excluded them due to this crash.
The following command causes an exit due to a SIGTRAP. Without --runInBand jest halts.
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!
Preflight Checklist
Electron Version
14.0.0
What operating system are you using?
macOS
Operating System Version
macOS 11.6, Ubuntu 20.04.3 LTS
What arch are you using?
x64
Last Known Working Electron version
13.1.8, 13.4.0
Expected Behavior
Electron runs Jest without native crashes.
Actual Behavior
Electron crashes (
exited with signal SIGTRAP
) at a random test-case when we run jest in electronTestcase Gist URL
No response
Additional Information
Node 16.9.1 and Node v14.17.0 run all test cases without issues. We use several node addons and our custom one. To run it in Node we mocked all node addons with jest mocks. We also have JS test cases for node addons, but we excluded them due to this crash.
The following command causes an exit due to a SIGTRAP. Without
--runInBand
jest halts.ELECTRON_RUN_AS_NODE=true ./node_modules/.bin/electron "./node_modules/jest/bin/jest.js" --runInBand
Info about other packages versions:
The backtrace from lldb:
The text was updated successfully, but these errors were encountered: