title: What's the right way to write Jest tests verified with Flow?
body: <p>I imagine people commonly use Flow and Jest (and React) together, but Flow doesn't seem to know about Jest (or Jasmine) globals. When I add <code>// @flow</code> to my tests, I get Flow errors like this:</p>
  
  <pre><code>src/__tests__/Thing-test.js:3
    3: jest.unmock('../Thing')
       ^^^^ identifier `jest`. Could not resolve name
  
  src/__tests__/Thing-test.js:7
    7: describe('Thing', () =&gt; {
       ^^^^^^^^ identifier `describe`. Could not resolve name
  
  src/__tests__/Thing-test.js:8
    8:   it('does stuff', () =&gt; {
         ^^ identifier `it`. Could not resolve name
  </code></pre>
  
  <p>I could write a Flow interface for Jest/Jasmine, but that seems lengthy and like I must be missing something. Letting Flow process <code>node_modules/jest-cli</code> doesn't seem to help.</p>