-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
@jest-environment node not working #6634
Comments
Cannot repro: https://repl.it/repls/WellmadeGummyParticle |
I deleted |
classic |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
🐛 Bug Report
Related to #5119
Decorating my test file with
@jest-environment node
on top of it doesn't work andtypeof window
returns "object" instead of "undefined".To Reproduce
console.log
is writingExpected behavior
console.log
should writeundefined
Run
npx envinfo --preset jest
Paste the results here:
System: OS: macOS High Sierra 10.13.5 CPU: x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz Binaries: Node: 8.11.1 - /usr/local/bin/node npm: 5.6.0 - /usr/local/bin/npm npmPackages: jest: ^23.3.0 => 23.3.0
The text was updated successfully, but these errors were encountered: