title: avoiding the import "regenerator-runtime/runtime"
body: <p>I am using Parcel to bundle my project and jest to run my tests.</p>
  <p>Everything works fine, but on tests that I have the <code>async/await</code> keyword, I had to import <code>regenerator-runtime/runtime</code></p>
  <p>Like this:</p>
  <pre class="lang-js prettyprint-override"><code>import &quot;regenerator-runtime/runtime&quot;
  
  test(&quot;read armored key&quot;, async() =&gt; {
  
  })
  </code></pre>
  <p>And this work.</p>
  <p>But without this import (<code>import &quot;regenerator-runtime/runtime&quot;</code>) I got this error message:</p>
  <pre><code>ReferenceError: regeneratorRuntime is not defined
  </code></pre>
  <p>How can I change my project to run without this import on tests with async?</p>
  <p>Example: <a href="https://github.com/skhaz/parcel-regeneratorRuntime-is-not-defined" rel="noreferrer">https://github.com/skhaz/parcel-regeneratorRuntime-is-not-defined</a></p>