-
david.bauer authored
- Unit and Integration tests now use "inject" instead of starting a server and using supertest. - Add Coverage Reports and "test:dev" mode. This enables a mocha --watch like workflow using nodemon, as --watch does not work with esm modules. - Reorganized and renamed files and functions
david.bauer authored- Unit and Integration tests now use "inject" instead of starting a server and using supertest. - Add Coverage Reports and "test:dev" mode. This enables a mocha --watch like workflow using nodemon, as --watch does not work with esm modules. - Reorganized and renamed files and functions
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
manifests.js 294 B
import { getOxManifests } from '../manifests.js'
export default async function manifestsPlugin (fastify) {
fastify.get('/manifests', async (req, reply) => {
const { body, headers } = await getOxManifests({ version: reply.version })
reply.headers(headers)
reply.send(body)
})
}