Move files imported from unicode-properties into subdirectory

Specifically  addons/xterm-addon-unicode-graphemes/src/third-party/.
This commit is contained in:
Per Bothner
2023-08-08 18:32:37 -07:00
parent 302da18c81
commit b9a4760b44
7 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -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 {
+2 -1
View File
@@ -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');
}