Skip to content

Commit

Permalink
Reduce radius to lower unit test duration.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Aug 6, 2023
1 parent 510a087 commit 6fef90e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/magick-image/motion-blur.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
});
});
});

0 comments on commit 6fef90e

Please sign in to comment.