UNPKG

fastify-openapi-glue

Version:

generate a fastify configuration from an openapi specification

11 lines (8 loc) 352 B
import { test } from "node:test"; import openapiGlue, { fastifyOpenapiGlue } from "../index.js"; test("named import in ESM works", async (t) => { t.assert.equal(fastifyOpenapiGlue.fastifyOpenapiGlue !== undefined, true); }); test("default import in ESM works", async (t) => { t.assert.equal(openapiGlue.fastifyOpenapiGlue !== undefined, true); });