Update tests to use unicode for proposed check

This commit is contained in:
Daniel Imms
2026-01-03 14:57:55 -08:00
parent 8193ceae12
commit 7389a1097d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ describe('Headless API Tests', function (): void {
it('Proposed API check', async () => {
term = new Terminal({ allowProposedApi: false });
throws(() => term.markers, (error: any) => error.message === 'You must set the allowProposedApi option to true to use proposed API');
throws(() => term.unicode, (error: any) => error.message === 'You must set the allowProposedApi option to true to use proposed API');
});
it('write', async () => {
+1 -1
View File
@@ -25,7 +25,7 @@ test.describe('API Integration Tests', () => {
await openTerminal(ctx, { allowProposedApi: false }, { loadUnicodeGraphemesAddon: false });
await ctx.page.evaluate(`
try {
window.term.markers;
window.term.unicode;
} catch (e) {
window.throwMessage = e.message;
}