Move files imported from unicode-properties into subdirectory
Specifically addons/xterm-addon-unicode-graphemes/src/third-party/.
This commit is contained in:
@@ -33,7 +33,7 @@ describe('API Integration Tests', function(): void {
|
||||
});
|
||||
|
||||
// fails with the grapheme injection, not sure why...
|
||||
it.skip('Proposed API check', async () => {
|
||||
it('Proposed API check', async () => {
|
||||
await openTerminal(page, { allowProposedApi: false });
|
||||
await page.evaluate(`
|
||||
try {
|
||||
|
||||
@@ -47,13 +47,14 @@ export async function openTerminal(page: playwright.Page, options: ITerminalOpti
|
||||
await page.evaluate(`window.term = new Terminal(${JSON.stringify({ allowProposedApi: true, ...options })})`);
|
||||
await page.evaluate(`window.term.open(document.querySelector('#terminal-container'))`);
|
||||
|
||||
/*
|
||||
// TODO: make this injection configurable from outside
|
||||
await page.evaluate(`
|
||||
window.unicode = new UnicodeGraphemesAddon();
|
||||
window.term.loadAddon(window.unicode);
|
||||
window.term.unicode.activeVersion = '15-graphemes';
|
||||
`);
|
||||
|
||||
*/
|
||||
await page.waitForSelector('.xterm-rows');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user