]> git.proxmox.com Git - mirror_novnc.git/blobdiff - tests/test.websock.js
Standardize on camelCase in tests
[mirror_novnc.git] / tests / test.websock.js
index 33d5cec46e1c1cc99fc55baca637a8abb8eb3eff..e0bac39e6e0cc4d4839df4f6bb74685d7f0d7f1a 100644 (file)
@@ -456,7 +456,7 @@ describe('Websock', function () {
 
             it('should properly pass the encoded data off to the actual WebSocket', function () {
                 sock.send([1, 2, 3]);
-                expect(sock._websocket._get_sent_data()).to.array.equal(new Uint8Array([1, 2, 3]));
+                expect(sock._websocket._getSentData()).to.array.equal(new Uint8Array([1, 2, 3]));
             });
         });
     });