Add window prefer to global symbols

This commit is contained in:
Daniel Imms
2023-09-08 12:42:26 -07:00
parent 1798cab222
commit 2e10a7f097
2 changed files with 2 additions and 2 deletions
@@ -17,7 +17,7 @@ test.beforeAll(async ({ browser }) => {
await openTerminal(ctx);
ctxWrapper.value = ctx;
await ctx.page.evaluate(`
window.addon = new CanvasAddon(true);
window.addon = new window.CanvasAddon(true);
window.term.loadAddon(window.addon);
`);
});