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
1 changed files with 2 additions and 2 deletions

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