First commit
This commit is contained in:
12
node_modules/avvio/test/esm.mjs
generated
vendored
Normal file
12
node_modules/avvio/test/esm.mjs
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
import { test } from 'tap'
|
||||
import boot from '../boot.js'
|
||||
|
||||
test('support import', async (t) => {
|
||||
const app = boot()
|
||||
|
||||
app.use(import('./fixtures/esm.mjs'))
|
||||
|
||||
await app.ready()
|
||||
|
||||
t.equal(app.loaded, true)
|
||||
})
|
||||
Reference in New Issue
Block a user