Fix failing health check test and restore CI
startup-product-gitea-ci/pipeline/pr-main This commit looks good
startup-product-gitea-ci/pipeline/pr-main This commit looks good
This commit is contained in:
@@ -3,7 +3,7 @@ const assert = require("node:assert/strict");
|
||||
const { getHealthStatus } = require("../src/health");
|
||||
|
||||
test("reports healthy when database is connected", () => {
|
||||
assert.deepEqual(getHealthStatus(false), {
|
||||
assert.deepEqual(getHealthStatus(true), {
|
||||
status: "healthy",
|
||||
database: "connected"
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user