DEV Community

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

Collapse
 
bholmesdev profile image
Ben Holmes

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!