Merge pull request #5865 from Tyriar/tyriar/image

Fix integration test defaults
This commit is contained in:
Daniel Imms
2026-05-01 16:22:01 -07:00
committed by GitHub
2 changed files with 7 additions and 7 deletions
+4 -4
View File
@@ -25,14 +25,14 @@ const customSettings: IImageAddonOptions = {
pixelLimit: 16777216, // max. pixel size of a single image pixelLimit: 16777216, // max. pixel size of a single image
sixelSupport: true, // enable sixel support sixelSupport: true, // enable sixel support
sixelScrolling: true, // whether to scroll on image output sixelScrolling: true, // whether to scroll on image output
sixelPaletteLimit: 256, // initial sixel palette size sixelPaletteLimit: 4096, // initial sixel palette size
sixelSizeLimit: 25000000, // size limit of a single sixel sequence sixelSizeLimit: 33554432, // size limit of a single sixel sequence
storageLimit: 128, // FIFO storage limit in MB storageLimit: 128, // FIFO storage limit in MB
showPlaceholder: true, // whether to show a placeholder for evicted images showPlaceholder: true, // whether to show a placeholder for evicted images
iipSupport: true, // enable iTerm IIP support iipSupport: true, // enable iTerm IIP support
iipSizeLimit: 20000000, // size limit of a single IIP sequence iipSizeLimit: 33554432, // size limit of a single IIP sequence
kittySupport: true, // enable Kitty graphics support kittySupport: true, // enable Kitty graphics support
kittySizeLimit: 20000000 // size limit of a single Kitty sequence kittySizeLimit: 33554432 // size limit of a single Kitty sequence
} }
// initialization // initialization
+3 -3
View File
@@ -132,13 +132,13 @@ test.describe('ImageAddon', () => {
sixelSupport: true, sixelSupport: true,
sixelScrolling: true, sixelScrolling: true,
sixelPaletteLimit: 512, // set to 512 to get example image working sixelPaletteLimit: 512, // set to 512 to get example image working
sixelSizeLimit: 25000000, sixelSizeLimit: 33554432,
storageLimit: 128, storageLimit: 128,
showPlaceholder: true, showPlaceholder: true,
iipSupport: true, iipSupport: true,
iipSizeLimit: 20000000, iipSizeLimit: 33554432,
kittySupport: true, kittySupport: true,
kittySizeLimit: 20000000 kittySizeLimit: 33554432
}; };
deepStrictEqual(await ctx.page.evaluate(`window.imageAddon._opts`), DEFAULT_OPTIONS); deepStrictEqual(await ctx.page.evaluate(`window.imageAddon._opts`), DEFAULT_OPTIONS);
}); });