feat: initial scaffolding

This commit is contained in:
2026-02-03 10:08:03 -08:00
parent 0ecfc9b54a
commit 2f38aa3b92
63 changed files with 23000 additions and 20 deletions
+20
View File
@@ -0,0 +1,20 @@
import Fastify, { FastifyInstance } from 'fastify';
import { app } from './app';
describe('GET /', () => {
let server: FastifyInstance;
beforeEach(() => {
server = Fastify();
server.register(app);
});
it('should respond with a message', async () => {
const response = await server.inject({
method: 'GET',
url: '/',
});
expect(response.json()).toEqual({ message: 'Hello API' });
});
});