title: Node v13 / Jest / ES6 — native support for modules without babel or esm
body: <p>Is it possible to test ES6 Modules with Jest without <code>esm</code> or <code>babel</code>? Since <code>node v13</code> supports es6 natively have tried:</p>
  
  <pre><code>//package.json
  {
    …
    "type": "module"
    …
  }
  
  
  
  //__tests__/a.js
  import Foo from '../src/Foo.js';
  
  
  $ npx jest
  
  Jest encountered an unexpected token
  …
  Details:
  
  /home/node/xxx/__tests__/a.js:1
  import Foo from '../src/Foo.js';
  ^^^^^^
  
  SyntaxError: Cannot use import statement outside a module
  </code></pre>
  
  <p>When babel is added a transpiler, it works, but can es6 modules be used natively as well?</p>