test: verify missing database status refs #15
startup-product-gitea-ci/pipeline/head This commit looks good

This commit is contained in:
2026-11-30 20:17:04 -05:00
parent 570f024fa2
commit 6cee97faa6
+7
View File
@@ -15,3 +15,10 @@ test("reports unhealthy when database is disconnected", () => {
database: "disconnected" database: "disconnected"
}); });
}); });
test("reports unhealthy when database status is missing", () => {
assert.deepEqual(getHealthStatus(), {
status: "unhealthy",
database: "disconnected"
});
});