Skip to content

Commit caaf89d

Browse files
committed
Increase timeout
1 parent 233819f commit caaf89d

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

test/unit/visual/cases/webgl.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -861,6 +861,7 @@ visualSuite('WebGL', function() {
861861

862862
screenshot();
863863
},
864+
{ timeout: 2000 }
864865
);
865866
}
866867
});

test/unit/visual/cases/webgpu.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,7 @@ visualSuite("WebGPU", function () {
750750

751751
await screenshot();
752752
},
753+
{ timeout: 2000 }
753754
);
754755
}
755756
});

test/unit/visual/visualTest.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ function findClusterSize(
385385
export function visualTest(
386386
testName,
387387
callback,
388-
{ focus = false, skip = false } = {}
388+
{ focus = false, skip = false, timeout } = {}
389389
) {
390390
let suiteFn = describe;
391391
if (focus) {
@@ -483,6 +483,6 @@ export function visualTest(
483483
writeImageFile(actualFilename, toBase64(actual[i]));
484484
}
485485
}
486-
});
486+
}, timeout);
487487
});
488488
}

0 commit comments

Comments
 (0)