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:
@@ -26,6 +26,7 @@
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
background-image: -webkit-linear-gradient(top, #008000, #008000);
|
||||
background-image: -moz-linear-gradient(to bottom, #008000, #008000);
|
||||
background-image: linear-gradient(to bottom, #008000, #008000);
|
||||
}
|
||||
</style>
|
||||
@@ -126,6 +127,9 @@
|
||||
else {
|
||||
mocha.run();
|
||||
}
|
||||
mocha.suite.afterAll(function() {
|
||||
document.body.setAttribute('data-complete', 'true');
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user