Skip to content
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

New Version Breaks Electron (possibly non-browser NodeJS as well) #11

Open
barrycaceres opened this issue Jun 27, 2019 · 3 comments
Open

Comments

@barrycaceres
Copy link

I was using "is-dom" indirectly via the "console-redirect" module from my electron-main.js. This was working forever until this last week when electron got an error about "window" not being defined during startup.

I had to change my package.json to explicitly require version 1.0.9 to avoid the problem.

@TehShrike
Copy link
Member

That sucks.

We should be testing with electron instead of jsdom. Code coverage doesn't matter in a one-function module like this.

Can you paste what the error message was exactly? Maybe grab the stack trace?

@barrycaceres
Copy link
Author

I will revert the package dependency and grab the error message on startup before end of the week

@TehShrike
Copy link
Member

The unit tests are passing in electron right now. If you can come up with a failing test case to add to the unit tests, that would be excellent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants