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); }); });