Skip to content

Commit

Permalink
slow down web links tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jerch authored Oct 4, 2024
1 parent 3d9668f commit 5623ba6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion addons/addon-web-links/test/WebLinksAddon.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ test.describe('WebLinksAddon', () => {

test.beforeEach(async () => {
await ctx.page.evaluate(`
window.term.reset()
window.term.reset();
`);
await timeout(50);
await ctx.page.evaluate(`
window._linkaddon?.dispose();
window._linkaddon = new WebLinksAddon();
window.term.loadAddon(window._linkaddon);
Expand Down

0 comments on commit 5623ba6

Please sign in to comment.