We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0533e9 commit 4819e08Copy full SHA for 4819e08
src/compareImage.test.js
@@ -59,7 +59,7 @@ describe('Compare Image', () => {
59
expect(result).toEqual('no mismatch found ✅');
60
});
61
62
- it('returns correct value if only difference above threshold', async () => {
+ it('returns mismatch found❗ if only difference above threshold', async () => {
63
expect.assertions(1);
64
Jimp.diff.mockReturnValue({ percent: 0.02 });
65
@@ -75,7 +75,7 @@ describe('Compare Image', () => {
75
}
76
77
78
- it('returns correct value if only distance above threshold', async () => {
+ it('returns mismatch found❗ if only distance above threshold', async () => {
79
80
Jimp.distance.mockReturnValue(0.02);
81
0 commit comments