mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
fix some things
This commit is contained in:
@@ -755,7 +755,7 @@ describe('API Integration Tests', function(): void {
|
||||
window.throwMessage = e.message;
|
||||
}
|
||||
`);
|
||||
await pollFor(page, 'window.throwMessage', 'Decoration options x value cannot be negative, but was -2.');
|
||||
await pollFor(page, 'window.throwMessage', 'This API only accepts positive integers');
|
||||
assert.equal(await page.evaluate(`document.querySelector('.xterm-screen .xterm-decoration')`), undefined);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user