Demonstrate Jenkins CI failure with intentional test mismatch
startup-product-gitea-ci/pipeline/pr-main There was a failure building this commit
startup-product-gitea-ci/pipeline/pr-main There was a failure building this commit
This commit is contained in:
@@ -3,7 +3,7 @@ const assert = require("node:assert/strict");
|
|||||||
const { getHealthStatus } = require("../src/health");
|
const { getHealthStatus } = require("../src/health");
|
||||||
|
|
||||||
test("reports healthy when database is connected", () => {
|
test("reports healthy when database is connected", () => {
|
||||||
assert.deepEqual(getHealthStatus(true), {
|
assert.deepEqual(getHealthStatus(false), {
|
||||||
status: "healthy",
|
status: "healthy",
|
||||||
database: "connected"
|
database: "connected"
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user