]> git.proxmox.com Git - mirror_novnc.git/blobdiff - tests/test.display.js
Move resize handling in to RFB object
[mirror_novnc.git] / tests / test.display.js
index b8e9b51f5492a7d78df4d911dfd6b4fe6537b587..9e6f0491b151e096f842c1d892b783b896c072f6 100644 (file)
@@ -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);