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

Bad practice to set the global variables in Node.js #29

Open
joetidee opened this issue Jun 11, 2017 · 1 comment
Open

Bad practice to set the global variables in Node.js #29

joetidee opened this issue Jun 11, 2017 · 1 comment

Comments

@joetidee
Copy link

The JSDom documentation advises against making window and document , etc. part of the global namespace in Node.js. Should I therefore avoid using this package, or do you have a counter- argument?

@saivan
Copy link

saivan commented Jul 11, 2018

Yes, I'm actually having issues with mocha randomly exiting during watch mode when this package is included. This seems dangerous to me.

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