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
Hello, I've been trying to transition my project away from jest-electron because of incompatibility with the latest Jest and because of old Electron version supported.
This project has worked very well except for debugging.
Using the steps getCurrentWindow().show(); simply opens a blank window. I'm not able to use debugger statements and I don't see any Jest output on the screen.
jest-electron uses an environment variable, e.g., DEBUG_MODE=1 jest which will show the electron window and allow for breakpoints, output Jest to the DOM, etc. I like the environment variable because it makes it easy to invoke and turn on or off debugging without having to change the source code of any tests.
The text was updated successfully, but these errors were encountered:
Hello, I've been trying to transition my project away from jest-electron because of incompatibility with the latest Jest and because of old Electron version supported.
This project has worked very well except for debugging.
Using the steps
getCurrentWindow().show();
simply opens a blank window. I'm not able to usedebugger
statements and I don't see any Jest output on the screen.jest-electron uses an environment variable, e.g.,
DEBUG_MODE=1 jest
which will show the electron window and allow for breakpoints, output Jest to the DOM, etc. I like the environment variable because it makes it easy to invoke and turn on or off debugging without having to change the source code of any tests.The text was updated successfully, but these errors were encountered: