Skip to content

Commit 4819e08

Browse files
committed
Updating the test names
1 parent c0533e9 commit 4819e08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compareImage.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ describe('Compare Image', () => {
5959
expect(result).toEqual('no mismatch found ✅');
6060
});
6161

62-
it('returns correct value if only difference above threshold', async () => {
62+
it('returns mismatch found❗ if only difference above threshold', async () => {
6363
expect.assertions(1);
6464
Jimp.diff.mockReturnValue({ percent: 0.02 });
6565

@@ -75,7 +75,7 @@ describe('Compare Image', () => {
7575
}
7676
});
7777

78-
it('returns correct value if only distance above threshold', async () => {
78+
it('returns mismatch found❗ if only distance above threshold', async () => {
7979
expect.assertions(1);
8080
Jimp.distance.mockReturnValue(0.02);
8181

0 commit comments

Comments
 (0)