import tap from 'tap'
import boot from '../boot.js'

const { test } = tap

test('support import', async (t) => {
  const app = boot()

  app.use(import('./fixtures/esm.mjs'))

  await app.ready()

  t.is(app.loaded, true)
})
