importing.js 292 B

12345678
  1. // this will only parse and run if you're using node >= 10 with the --experimental-modules flag
  2. // alternatively, if you use something like webpack
  3. // that's why it is in a separate file
  4. describe('importing', () => {
  5. it('loads via .mjs', () => {
  6. return import('./importing.mjs');
  7. });
  8. });