Remove document from test
This commit is contained in:
@@ -58,7 +58,6 @@ describe('xterm-addon-serialize', () => {
|
|||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
dom = new jsdom.JSDOM('');
|
dom = new jsdom.JSDOM('');
|
||||||
window = dom.window;
|
window = dom.window;
|
||||||
document = window.document;
|
|
||||||
|
|
||||||
(window as any).HTMLCanvasElement.prototype.getContext = () => ({
|
(window as any).HTMLCanvasElement.prototype.getContext = () => ({
|
||||||
createLinearGradient(): any {
|
createLinearGradient(): any {
|
||||||
|
|||||||
Reference in New Issue
Block a user