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);