Skip to content
This repository was archived by the owner on Jul 26, 2025. It is now read-only.

Commit 3e5973e

Browse files
committed
test: remove unused test
1 parent 7fe372f commit 3e5973e

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/utils/__tests__/setBlendedPixel.test.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,6 @@ test('GREYA images: opaque source, transparent target', () => {
2424
expect(image).toMatchImageData([[100, 255]]);
2525
});
2626

27-
test('GREYA image: alpha different from 255', () => {
28-
const image = testUtils.createGreyaImage([[50, 64]]);
29-
setBlendedPixel(image, 0, 0, [100, 128]);
30-
const alpha = 128 + 64 * (1 - 128 / 255);
31-
const component = (100 * 128 + 50 * 64 * (1 - 128 / 255)) / alpha;
32-
expect(image).toMatchImageData([[component, alpha]]);
33-
});
34-
3527
test('asymetrical test', () => {
3628
const image = testUtils.createGreyaImage([
3729
[50, 255, 1, 2, 3, 4],

0 commit comments

Comments
 (0)