From 6fef90e665bea1302c09a7b38d476f8427aadd31 Mon Sep 17 00:00:00 2001 From: Dirk Lemstra Date: Sun, 6 Aug 2023 12:13:21 +0200 Subject: [PATCH] Reduce radius to lower unit test duration. --- tests/magick-image/motion-blur.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/magick-image/motion-blur.spec.ts b/tests/magick-image/motion-blur.spec.ts index 1aa51859..534dc769 100644 --- a/tests/magick-image/motion-blur.spec.ts +++ b/tests/magick-image/motion-blur.spec.ts @@ -6,9 +6,9 @@ import { TestImages } from "../test-images"; describe('MagickImage#motionBlur', () => { it('should change pixels of the image', () => { TestImages.Builtin.logo.use((image) => { - image.motionBlur(100, 10, -90); + image.motionBlur(10, 10, -90); - expect(image).toHavePixelWithColor(222, 60, '#ff0d0dff'); + expect(image).toHavePixelWithColor(222, 60, '#ff0404ff'); }); }); });