title: How to solve TypeError: environment.teardown is not a function
body: <p>I can't test an application which was created with create-react-app.</p>
  <p>All guides says that test is working by default, but when I try &quot;yarn test&quot;, it requires install 'jest-cli' and after installation gives an error:</p>
  <blockquote>
  <p>TypeError: environment.teardown is not a function</p>
  </blockquote>