Update test/backend-test/test-system-service.js
Co-authored-by: Frank Elsinga <frank@elsinga.de>
This commit is contained in:
parent
44f823a0f4
commit
ae7dfc5aaa
@ -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",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user