Files
gridpilot.gg/tests/e2e/api/api-smoke.test.ts
2026-01-26 23:23:15 +01:00

9 lines
321 B
TypeScript

import { test, expect } from '@playwright/test';
test('API smoke - health endpoint is up', async ({ request }) => {
const response = await request.get('/health');
expect(response.status()).toBe(200);
const body = await response.json();
expect(body).toHaveProperty('status');
expect(body.status).toBe('ok');
});