Update addon-clipboard

This commit is contained in:
Ayman Bagabas
2024-04-08 02:47:26 +03:00
parent 805cabafe8
commit 94648eb4e9
9 changed files with 201 additions and 64 deletions
@@ -34,7 +34,7 @@ describe('ClipboardAddon', () => {
page = await context.newPage();
await page.setViewportSize({ width, height });
await page.goto(APP);
await openTerminal(page, { allowClipboardAccess: true });
await openTerminal(page);
await page.evaluate(`
window.clipboardAddon = new ClipboardAddon();
window.term.loadAddon(window.clipboardAddon);
+2 -1
View File
@@ -3,7 +3,7 @@
"module": "commonjs",
"target": "es2021",
"lib": [
"es2021"
"es2015"
],
"rootDir": ".",
"outDir": "../out-test",
@@ -13,6 +13,7 @@
"types": [
"../../../node_modules/@types/mocha",
"../../../node_modules/@types/node",
"../../../out-test/api/TestUtils"
]
},
"include": [