mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Add task for running mocha tests with webdriver for testing proxies
This commit is contained in:
@ -102,6 +102,9 @@ describe("Gradients", function() {
|
||||
var value = container.css("backgroundImage");
|
||||
it(value, function() {
|
||||
var parsedBackground = parseBackgrounds(value);
|
||||
if (parsedBackground[0].args[0] === "0% 50%") {
|
||||
parsedBackground[0].args[0] = 'left';
|
||||
}
|
||||
expect(parsedBackground[0].args).to.eql(expected[i].args);
|
||||
expect(parsedBackground[0].method).to.eql(expected[i].method);
|
||||
});
|
||||
|
Reference in New Issue
Block a user