mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Fixed property name in unit-test
This commit is contained in:
parent
bd77d7eec3
commit
83203d5f5d
@ -372,8 +372,8 @@ describe('websocket Node', function() {
|
|||||||
{ id: "n1", type: "websocket-client", path: getWsUrl("/ws") },
|
{ id: "n1", type: "websocket-client", path: getWsUrl("/ws") },
|
||||||
{ id: "n2", type: "websocket-client", path: getWsUrl("/ws"), subprotocol: "testprotocol" }];
|
{ id: "n2", type: "websocket-client", path: getWsUrl("/ws"), subprotocol: "testprotocol" }];
|
||||||
helper.load(websocketNode, flow, function() {
|
helper.load(websocketNode, flow, function() {
|
||||||
helper.getNode("n1").should.have.property("protocol", undefined);
|
helper.getNode("n1").should.have.property("subprotocol", undefined);
|
||||||
helper.getNode("n2").should.have.property("protocol", "testprotocol");
|
helper.getNode("n2").should.have.property("subprotocol", "testprotocol");
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user