Aug
23

"ReferenceError: document is not defined" in Jest

When you setup Jest, and write down some tests. Sometimes it throws a document is not defined. This means Jest