From c6135cebcd3f29bb7643dcdd1e89d78bb9c46b04 Mon Sep 17 00:00:00 2001 From: GogoVega <92022724+GogoVega@users.noreply.github.com> Date: Mon, 27 Oct 2025 15:06:57 +0100 Subject: [PATCH] Update `comms` unit tests --- test/unit/@node-red/runtime/lib/api/comms_spec.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/test/unit/@node-red/runtime/lib/api/comms_spec.js b/test/unit/@node-red/runtime/lib/api/comms_spec.js index 0097f5ce8..1012cf1ae 100644 --- a/test/unit/@node-red/runtime/lib/api/comms_spec.js +++ b/test/unit/@node-red/runtime/lib/api/comms_spec.js @@ -220,7 +220,13 @@ describe("runtime-api/comms", function() { return comms.subscribe({client: clientConnection, topic: "status/#"}).then(function() { messages.should.have.length(1); messages[0].should.have.property("topic","status/node1234"); - messages[0].should.have.property("data",{text:"hello", fill: undefined, shape: undefined}); + messages[0].should.have.property("data", { + text: "hello", + fill: undefined, + shape: undefined, + duration: undefined, + ephemeral: undefined + }); done(); }); }).catch(done);