title: jest global variable example
body: <p>Can someone give an example on how to use jest globals?</p>
  
  <pre><code>{
    ...
    "jest": {
      "globals": {
        "__DEV__": true,
      }
    }
    ...
  }
  </code></pre>
  
  <p>Do I specify the globals in the package.json file or do I create a folder with a js file where the globals should be defined?</p>
  
  <p>Thanks</p>