Update test/backend-test/test-system-service.js

Co-authored-by: Frank Elsinga <frank@elsinga.de>
This commit is contained in:
iotux 2026-01-02 06:32:11 +01:00 committed by GitHub
parent 1378879028
commit 3c980056f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -63,7 +63,7 @@ describe("SystemServiceMonitorType", { skip: !shouldRun }, () => {
assert.ok(heartbeat.msg.includes("is running"));
});
it("should detect a stopped service", async () => {
test("check() returns DOWN for a stopped service", async () => {
const monitor = {
system_service_name: "non-existent-service-12345",
};