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:33:59 +01:00 committed by GitHub
parent 3c980056f2
commit 3c7e93141a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -48,7 +48,7 @@ describe("SystemServiceMonitorType", { skip: !shouldRun }, () => {
}
});
it("should detect a running service", async () => {
test("check() returns UP for a running service", async () => {
// Windows: 'Dnscache' is always running.
// Linux: 'dbus' or 'cron' are standard services.
const serviceName = isWindows ? "Dnscache" : "dbus";