X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=tests%2Ftest.display.js;h=9e6f0491b151e096f842c1d892b783b896c072f6;hb=9b84f51685243309afb9ca4cefe1de697594705b;hp=b8e9b51f5492a7d78df4d911dfd6b4fe6537b587;hpb=898cd32c0717d491e116c3cebfac6e656f703d41;p=mirror_novnc.git diff --git a/tests/test.display.js b/tests/test.display.js index b8e9b51..9e6f049 100644 --- a/tests/test.display.js +++ b/tests/test.display.js @@ -91,15 +91,6 @@ describe('Display/Canvas Helper', function () { expect(display.flip).to.have.been.calledOnce; }); - it('should report clipping when framebuffer > viewport', function () { - expect(display.isClipped).to.be.true; - }); - - it('should report not clipping when framebuffer = viewport', function () { - display.viewportChangeSize(5, 5); - expect(display.isClipped).to.be.false; - }); - it('should show the entire framebuffer when disabling the viewport', function() { display.clipViewport = false; expect(display.absX(0)).to.equal(0);