mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-09-10 20:57:19 +08:00
fixed the skip condition correctly targetting the platforms I want
This commit is contained in:
@@ -51,10 +51,9 @@ async function testMqtt(mqttSuccessMessage, mqttCheckType, receivedMessage) {
|
||||
return heartbeat;
|
||||
}
|
||||
|
||||
const isInCIWithRuntime = !!process.env.CI && process.platform === "linux" && process.arch === "x64";
|
||||
describe("MqttMonitorType", {
|
||||
concurrency: true,
|
||||
skip: !process.env.CI || isInCIWithRuntime
|
||||
skip: !!process.env.CI && (process.platform !== "linux" || process.arch !== "x64")
|
||||
}, () => {
|
||||
test("valid keywords (type=default)", async () => {
|
||||
const heartbeat = await testMqtt("KEYWORD", null, "-> KEYWORD <-");
|
||||
|
Reference in New Issue
Block a user