test(release): strengthen production verification
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

This commit is contained in:
cesnimda
2026-08-24 20:21:37 +02:00
parent 367b70681a
commit 44dba5d08d
16 changed files with 62 additions and 16 deletions
+1 -1
View File
@@ -4,5 +4,5 @@ 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*{[^}]*proxy_pass http:\/\/backend-web:8080\/health;/s);
expect(config).toMatch(/location = \/health\s*{[\s\S]*?proxy_pass http:\/\/backend-web:8080\/health;/);
});