mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 14:54:05 +00:00
fixed the skip condition correctly targetting the platforms I want
This commit is contained in:
parent
a6a662e751
commit
28c5191195
1 changed files with 1 additions and 2 deletions
|
@ -51,10 +51,9 @@ async function testMqtt(mqttSuccessMessage, mqttCheckType, receivedMessage) {
|
||||||
return heartbeat;
|
return heartbeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
const isInCIWithRuntime = !!process.env.CI && process.platform === "linux" && process.arch === "x64";
|
|
||||||
describe("MqttMonitorType", {
|
describe("MqttMonitorType", {
|
||||||
concurrency: true,
|
concurrency: true,
|
||||||
skip: !process.env.CI || isInCIWithRuntime
|
skip: !!process.env.CI && (process.platform !== "linux" || process.arch !== "x64")
|
||||||
}, () => {
|
}, () => {
|
||||||
test("valid keywords (type=default)", async () => {
|
test("valid keywords (type=default)", async () => {
|
||||||
const heartbeat = await testMqtt("KEYWORD", null, "-> KEYWORD <-");
|
const heartbeat = await testMqtt("KEYWORD", null, "-> KEYWORD <-");
|
||||||
|
|
Loading…
Reference in a new issue