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:
parent
bd77d7eec3
commit
83203d5f5d
@ -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();
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user