1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Fixed property name in unit-test

This commit is contained in:
Tobias Oort 2022-01-10 22:23:45 +01:00 committed by GitHub
parent bd77d7eec3
commit 83203d5f5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -372,8 +372,8 @@ describe('websocket Node', function() {
{ id: "n1", type: "websocket-client", path: getWsUrl("/ws") },
{ id: "n2", type: "websocket-client", path: getWsUrl("/ws"), subprotocol: "testprotocol" }];
helper.load(websocketNode, flow, function() {
helper.getNode("n1").should.have.property("protocol", undefined);
helper.getNode("n2").should.have.property("protocol", "testprotocol");
helper.getNode("n1").should.have.property("subprotocol", undefined);
helper.getNode("n2").should.have.property("subprotocol", "testprotocol");
done();
});
});