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:30:53 +01:00 committed by GitHub
parent 44f823a0f4
commit ae7dfc5aaa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -92,7 +92,7 @@ describe("SystemServiceMonitorType", { skip: !shouldRun }, () => {
assert.strictEqual(heartbeat.status, DOWN);
});
it("should throw error on unsupported platforms", async () => {
test("check() throws on unsupported platforms", async () => {
// This test mocks the platform, so it can run anywhere.
Object.defineProperty(process, "platform", {
value: "darwin",