-
Notifications
You must be signed in to change notification settings - Fork 33
renderer console not work #54
Comments
i'm pretty sure that was supposed to do it https://github.com/facebook-atom/jest-electron-runner/blob/master/packages/electron/src/browser_window_injected_code.js#L58 but seems like it doesn't. can you put a console.log around that code and see if it works? :) |
I change this line to |
have a try with jest-electron. |
@superwf @aaronabramov something is overwriting global.console this addition to browser_window_injected_code.js worked for me (using electron 11.1.1, jest 26.6.3)
|
Thanks for this great runner first, it make to test web component with jest possible.
I am new to electron, may be it is something basic I don't know.
How to make the renderer process to output to terminal?
I tried
process.stdout.write
andremote.getGlobal().console
, but all not work.The text was updated successfully, but these errors were encountered: