Skip to content

Commit

Permalink
make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
jerch committed Dec 10, 2022
1 parent cd255ed commit 1bc7edd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/SixelHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export class SixelHandler implements IDcsHandler, IResetHandler {
DecoderAsync({
memoryLimit: this._opts.pixelLimit * 4,
palette: DEFAULT_PALETTE,
paletteLimit: this._opts.sixelPaletteLimit,
paletteLimit: this._opts.sixelPaletteLimit
}).then(d => this._dec = d);
}

Expand Down
4 changes: 2 additions & 2 deletions test/ImageAddon.api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ describe.only('ImageAddon', () => {
await page.evaluate(opts => {
(window as any).imageAddon = new ImageAddon(opts.opts);
(window as any).term.loadAddon((window as any).imageAddon);
}, {opts: { sixelPaletteLimit: 512 } });
}, { opts: { sixelPaletteLimit: 512 } });
});

it('test for private accessors', async () => {
Expand Down Expand Up @@ -133,7 +133,7 @@ describe.only('ImageAddon', () => {
await page.evaluate(opts => {
(window as any).imageAddonCustom = new ImageAddon(opts.opts);
(window as any).term.loadAddon((window as any).imageAddonCustom);
}, {opts: customSettings });
}, { opts: customSettings });
assert.deepEqual(await page.evaluate(`window.imageAddonCustom._opts`), customSettings);
});
});
Expand Down

0 comments on commit 1bc7edd

Please sign in to comment.