mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 10:30:15 +02:00
Tests: ensure median default window is covered
This commit is contained in:
parent
dcd9a3c558
commit
b876abaf88
@ -35,7 +35,7 @@ describe('Median filter', () => {
|
|||||||
|
|
||||||
it('default window (3x3)', async () => {
|
it('default window (3x3)', async () => {
|
||||||
const [r, g, b] = await sharp(fixtures.inputSvgSmallViewBox)
|
const [r, g, b] = await sharp(fixtures.inputSvgSmallViewBox)
|
||||||
.median(3)
|
.median()
|
||||||
.raw()
|
.raw()
|
||||||
.toBuffer();
|
.toBuffer();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user