Remove reftests for now

This commit is contained in:
MoyuScript 2017-08-17 23:30:00 +08:00
parent 23575cca76
commit 1ab1f1ad83

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