title: How can I import Jest?
body: <p>I would like to get rid of global variables in my Jest test code. Specifically <code>describe</code>, <code>it</code>, and <code>expect</code>:</p>
  <pre class="lang-js prettyprint-override"><code>describe('Welcome (Snapshot)', () =&gt; {
    it('Welcome renders hello world', () =&gt; {
      // ...
    });
  });
  </code></pre>
  <p>So I tried to add:</p>
  <pre class="lang-js prettyprint-override"><code>import { describe, it } from 'jest';
  </code></pre>
  <p>and</p>
  <pre class="lang-js prettyprint-override"><code>import jest from 'jest';
  
  jest.describe('Welcome (Snapshot)', () =&gt; {
    jest.it('Welcome renders hello world', () =&gt; {
      // ...
    });
  });
  </code></pre>
  <p>And other variation but it's not working.</p>
  <p>How can I get my Jest test code working without globals?</p>