mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Update tests to use unicode for proposed check
This commit is contained in:
@@ -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 () => {
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user