Is there a reason why window
is defined when testing an api route?
#770
seanonthenet
started this conversation in
General
Replies: 1 comment 2 replies
-
Are you using Jest with the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The
window
object seems to be defined when running an API test.Is this expected?
Beta Was this translation helpful? Give feedback.
All reactions