Remove reftests for now

This commit is contained in:
Niklas von Hertzen 2017-08-17 23:30:00 +08:00
parent a73dbf8067
commit 26d8d8ea5b

View File

@ -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')