init
This commit is contained in:
commit
c54e888458
67 files changed
+5933
No files matched your search
@@ -0,0 +1,11 @@
|
||||
import { describe, test, expect } from 'bun:test';
|
||||
import { api } from './helpers';
|
||||
|
||||
describe('health', () => {
|
||||
test('GET /health returns ok', async () => {
|
||||
const res = await api('/health');
|
||||
expect(res.status).toBe(200);
|
||||
const body = (await res.json()) as { ok: boolean };
|
||||
expect(body.ok).toBe(true);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user