diff --git a/tests/test.copyrect.js b/tests/test.copyrect.js index fe7cedce5..8d97fddbb 100644 --- a/tests/test.copyrect.js +++ b/tests/test.copyrect.js @@ -40,10 +40,10 @@ describe('CopyRect Decoder', function () { beforeEach(function () { console.error("A"); + display = new Display(document.createElement('canvas')); /* - decoder = new CopyRectDecoder(); console.error("B"); - display = new Display(document.createElement('canvas')); + decoder = new CopyRectDecoder(); console.error("C"); display.resize(4, 4); */