Skip to content

Commit

Permalink
Update speed test to be more resilient on MicrosoftEdge
Browse files Browse the repository at this point in the history
  • Loading branch information
edi9999 committed Sep 18, 2020
1 parent 9cbf40d commit a5360b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion es6/tests/speed.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ describe("Speed test", function () {
doc.render();
const duration = new Date() - time;
let maxDuration = 100;
if (browserMatches(/firefox 65/)) {
if (browserMatches(/firefox 65/) || browserMatches(/MicrosoftEdge (16)/)) {
maxDuration = 150;
}
expect(duration).to.be.below(maxDuration);
Expand Down

0 comments on commit a5360b0

Please sign in to comment.