Projektstart

This commit is contained in:
2026-01-22 15:49:12 +01:00
parent 7212eb6f7a
commit 57e5f652f8
10637 changed files with 2598792 additions and 64 deletions

14
backend/node_modules/@fastify/swagger/test/esm/esm.mjs generated vendored Normal file
View File

@@ -0,0 +1,14 @@
import t from 'node:test'
import Fastify from 'fastify'
import swaggerDefault from '../../index.js'
t.test('esm support', async t => {
const fastify = Fastify()
await fastify.register(swaggerDefault)
await fastify.ready()
const swaggerObject = fastify.swagger()
t.assert.strictEqual(swaggerObject.swagger, '2.0')
})