Files
2026-05-20 15:08:45 +03:00

12 lines
329 B
TypeScript

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);
});
});