From 71d50c4c10195453b157054ca4789975980dd9eb Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Thu, 18 Jan 2024 10:42:02 +0100 Subject: [PATCH] create display --- tests/test.copyrect.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); */