Add testOptions parameter to openTerminal in TestUtils.

This is used to control whether the UnicodeGraphemesAddon is loaded.
This commit is contained in:
Per Bothner
2023-08-09 14:44:45 -07:00
parent b9a4760b44
commit 3bfe5d86c0
2 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ describe('API Integration Tests', function(): void {
// fails with the grapheme injection, not sure why...
it('Proposed API check', async () => {
await openTerminal(page, { allowProposedApi: false });
await openTerminal(page, { allowProposedApi: false }, { loadUnicodeGraphemesAddon: false });
await page.evaluate(`
try {
window.term.markers;