Skip to content

Commit

Permalink
tweak prevent-xhr test
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislav-atr committed Dec 28, 2022
1 parent 4060687 commit f54bbcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/scriptlets/prevent-xhr.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ if (isSupported) {

xhr1.send();
// use timeout to avoid hit collisions
setTimeout(() => xhr2.send(), 1);
setTimeout(() => xhr2.send(), 10);
});
} else {
test('unsupported', (assert) => {
Expand Down

0 comments on commit f54bbcc

Please sign in to comment.