This is my __tests__/App.js file:
__tests__/App.js
import React from \'react\'; import ReactDOM from \'react-dom\'; import App from \'../src/containers/App\'; it(\'
Placing the comment at the top of your unit-test source
/** * @jest-environment jsdom */
signals jest to mock document and window.