Files
jobtrackingapp/job-tracker-ui/src/nginx-config.test.ts
T
cesnimda 44dba5d08d
CI and Deploy / test (pull_request) Successful in 5m35s
CI and Deploy / test (push) Successful in 5m17s
CI and Deploy / deploy (pull_request) Has been skipped
CI and Deploy / deploy (push) Failing after 8s
test(release): strengthen production verification
2026-08-24 20:22:04 +02:00

9 lines
345 B
TypeScript

import fs from "node:fs";
import path from "node:path";
test("canonical-host health reaches the backend instead of the SPA fallback", () => {
const config = fs.readFileSync(path.join(process.cwd(), "nginx.conf.template"), "utf8");
expect(config).toMatch(/location = \/health\s*{[\s\S]*?proxy_pass http:\/\/backend-web:8080\/health;/);
});