with hexcolor632ms ‣
html2canvas(document.querySelector("#block"), {background: '#008000'}).then(function(canvas) {
expect(canvas.width).to.equal(200);
expect(canvas.height).to.equal(200);
validCanvasPixels(canvas);
done();
}).catch(function(error) {
done(error);
});