DEV Community

loading...

Discussion on: Mocking browser APIs (fetch, localStorage, Dates...) the easy way with Jest

Collapse
bholmesdev profile image
Ben Holmes Author

Ah, right you are! I was confused reading up on Node's global object; Turns out JSDOM is the culprit for all these APIs being visible. I'll update that callout!