From 26d8d8ea5b435760f8aae2394f01a22fc1a72516 Mon Sep 17 00:00:00 2001 From: Niklas von Hertzen Date: Thu, 17 Aug 2017 23:30:00 +0800 Subject: [PATCH] Remove reftests for now --- tests/testrunner.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tests/testrunner.js b/tests/testrunner.js index cc61727..b436553 100644 --- a/tests/testrunner.js +++ b/tests/testrunner.js @@ -113,13 +113,9 @@ const assertPath = (result, expected, desc) => { it('Should render untainted canvas', () => { return testContainer.contentWindow .html2canvas(testContainer.contentWindow.document.documentElement, { - removeContainer: true, - target: [ - new testContainer.contentWindow.html2canvas.CanvasRenderer(), - new testContainer.contentWindow.RefTestRenderer() - ] + removeContainer: true }) - .then(([canvas, result]) => { + .then((canvas) => { try { canvas .getContext('2d')