mirror of
https://github.com/koichixD/uptime-kuma.git
synced 2026-08-29 02:01:08 +00:00
Update test/backend-test/test-system-service.js
Co-authored-by: Frank Elsinga <frank@elsinga.de>
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user