Skip to content
Permalink
Browse files
try to fix tests
  • Loading branch information
meganrogge committed Feb 10, 2022
1 parent 14b71b6 commit 9ed95206c1231bb6dc23793876d811de67270e89
Showing with 0 additions and 8 deletions.
  1. +0 −8 test/api/Terminal.api.ts
@@ -732,14 +732,6 @@ describe('API Integration Tests', function(): void {
});

describe('registerDecoration', () => {
it('should register a decoration but not add the element until the first refresh call', async () => {
await openTerminal(page);
await writeSync(page, '\\n\\n\\n\\n');
await writeSync(page, '\\n\\n\\n\\n');
await page.evaluate(`window.marker = window.term.addMarker(1)`);
await page.evaluate(`window.term.registerDecoration({ marker: window.marker })`);
assert.equal(await page.evaluate(`document.querySelectorAll('.xterm-screen .xterm-decoration').length`), 0);
});
it('should register decorations and render them', async () => {
await openTerminal(page);
await writeSync(page, '\\n\\n\\n\\n');

0 comments on commit 9ed9520

Please sign in to comment.