linting fixes

pull/4451/head
Frank Elsinga 2 months ago
parent e23730af24
commit 3bd8785ea4

@ -44,11 +44,11 @@ function testMqtt(mqttSuccessMessage, mqttCheckType, receivedMessage, onSuccess,
status: PENDING,
};
mqttMonitorType.check(monitor, heartbeat, {})
.then(()=>{
.then(() => {
testMqttClient.end();
hiveMQContainer.stop();
})
.then(() => onSuccess(heartbeat), onError)
.then(() => onSuccess(heartbeat), onError);
const testMqttClient = mqtt.connect(hiveMQContainer.getConnectionString());
testMqttClient.on("connect", () => {

Loading…
Cancel
Save