Files
fatsify-schema/node_modules/fastify-plugin/test/esm/esm.mjs
2025-09-22 16:00:32 +08:00

12 lines
249 B
JavaScript

import { test } from 'node:test'
import fp from '../../plugin.js'
test('esm base support', (t) => {
fp((fastify, opts, next) => {
next()
}, {
fastify: '^5.0.0'
})
t.assert.ok(true, 'fp function called without throwing an error')
})