Files
FrenoCorp/node_modules/fastify-plugin/test/esm/esm.mjs

14 lines
186 B
JavaScript

import t from 'tap'
import fp from '../../plugin.js'
t.test('esm base support', async t => {
fp((fastify, opts, next) => {
next()
}, {
fastify: '^3.0.0'
})
t.end()
})