Skip to content

Commit 4b771d5

Browse files
author
Niklas von Hertzen
committed
Increase mocha timeout for multiple-render tests
1 parent 2f5f9f6 commit 4b771d5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/mocha/multiple-renders.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
<script>
2828
describe("Multiple renders", function() {
2929
it("render correctly", function(done) {
30+
this.timeout(5000);
3031
var d = 0;
3132
for (var i = 0; i < 10; i++) {
3233
html2canvas(document.querySelector('#green-block')).then(function (canvas) {
@@ -43,6 +44,7 @@
4344
});
4445

4546
it("render correctly when non sequential", function(done) {
47+
this.timeout(5000);
4648
var d = 0;
4749
for (var i = 0; i < 10; i++) {
4850
html2canvas(document.querySelector('#block'), {onclone: function(document) {

0 commit comments

Comments
 (0)