title: Ajv not defined in Jest test
body: <p>I want to test my class with jest. This class is importing ajv.js 6.12.2 and the test fails on that. So what i basicly did is:</p>
  <ol>
  <li>Add <code>export default Ajv</code> statement to the end of the ajv.js</li>
  <li>Import ajv.js with <code>import Ajv from './lib/ajv.js'</code></li>
  <li>Add <code>&quot;transform&quot;: {&quot;^.+\\.jsx?$&quot;: &quot;babel-jest&quot;}</code> to package.json</li>
  <li>Created babel.json and insert
  <code>{ &quot;presets&quot;: [&quot;@babel/preset-env&quot;], &quot;plugins&quot;: [&quot;@babel/plugin-proposal-class-properties&quot;] }</code></li>
  </ol>
  <p>When I run the test with <code>npm test</code> I get the following error:</p>
  <p>ReferenceError: Ajv is not defined</p>
  <pre><code>    &gt; 4 | export default Ajv;`
  </code></pre>
  <p>When I run the script in browser Ajv could be used normally.
  Can anybody give me a hint what to do?</p>