Skip to content

Commit a2e51e8

Browse files
authored
Merge pull request #5865 from Tyriar/tyriar/image
Fix integration test defaults
2 parents 5ef4f86 + f89253d commit a2e51e8

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

addons/addon-image/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ const customSettings: IImageAddonOptions = {
2525
pixelLimit: 16777216, // max. pixel size of a single image
2626
sixelSupport: true, // enable sixel support
2727
sixelScrolling: true, // whether to scroll on image output
28-
sixelPaletteLimit: 256, // initial sixel palette size
29-
sixelSizeLimit: 25000000, // size limit of a single sixel sequence
28+
sixelPaletteLimit: 4096, // initial sixel palette size
29+
sixelSizeLimit: 33554432, // size limit of a single sixel sequence
3030
storageLimit: 128, // FIFO storage limit in MB
3131
showPlaceholder: true, // whether to show a placeholder for evicted images
3232
iipSupport: true, // enable iTerm IIP support
33-
iipSizeLimit: 20000000, // size limit of a single IIP sequence
33+
iipSizeLimit: 33554432, // size limit of a single IIP sequence
3434
kittySupport: true, // enable Kitty graphics support
35-
kittySizeLimit: 20000000 // size limit of a single Kitty sequence
35+
kittySizeLimit: 33554432 // size limit of a single Kitty sequence
3636
}
3737

3838
// initialization

addons/addon-image/test/ImageAddon.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,13 +132,13 @@ test.describe('ImageAddon', () => {
132132
sixelSupport: true,
133133
sixelScrolling: true,
134134
sixelPaletteLimit: 512, // set to 512 to get example image working
135-
sixelSizeLimit: 25000000,
135+
sixelSizeLimit: 33554432,
136136
storageLimit: 128,
137137
showPlaceholder: true,
138138
iipSupport: true,
139-
iipSizeLimit: 20000000,
139+
iipSizeLimit: 33554432,
140140
kittySupport: true,
141-
kittySizeLimit: 20000000
141+
kittySizeLimit: 33554432
142142
};
143143
deepStrictEqual(await ctx.page.evaluate(`window.imageAddon._opts`), DEFAULT_OPTIONS);
144144
});

0 commit comments

Comments
 (0)