From 1bc7edda902dfe1ea2a02e257e365094e7f99ca0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Breitbart?= Date: Sat, 10 Dec 2022 16:22:11 +0100 Subject: [PATCH] make linter happy --- src/SixelHandler.ts | 2 +- test/ImageAddon.api.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SixelHandler.ts b/src/SixelHandler.ts index 1a35981..fd5b354 100644 --- a/src/SixelHandler.ts +++ b/src/SixelHandler.ts @@ -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); } diff --git a/test/ImageAddon.api.ts b/test/ImageAddon.api.ts index a6fef72..789c7bd 100644 --- a/test/ImageAddon.api.ts +++ b/test/ImageAddon.api.ts @@ -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 () => { @@ -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); }); });