import { test } from "node:test"; import assert from "node:assert/strict"; import { startApp } from "./helpers.mjs"; test("healthz отвечает 200", async () => { const app = await startApp(); try { const r = await fetch(`${app.url}/healthz`); assert.equal(r.status, 200); } finally { app.stop(); } });