]> git.proxmox.com Git - mirror_novnc.git/blobdiff - tests/test.rfb.js
Tidy up variable initialisation
[mirror_novnc.git] / tests / test.rfb.js
index dae9e720b65cf6a190c91bc1e95616934cf0f2a9..4cef186b0fe3d625caae01cf9018ba587b7f475e 100644 (file)
@@ -459,12 +459,6 @@ describe('Remote Frame Buffer Protocol Client', function() {
             var client;
             beforeEach(function () { client = make_rfb(); });
 
-            it('should reset the variable states', function () {
-                sinon.spy(client, '_init_vars');
-                client._updateConnectionState('connecting');
-                expect(client._init_vars).to.have.been.calledOnce;
-            });
-
             it('should actually connect to the websocket', function () {
                 sinon.spy(client._sock, 'open');
                 client._updateConnectionState('connecting');