Skip to content

Commit

Permalink
test case slash fix
Browse files Browse the repository at this point in the history
  • Loading branch information
manu4543 committed Oct 16, 2020
1 parent 3b1d7ea commit 74364cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/IKImage.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ describe('IKImage', () => {
<IKImage urlEndpoint="http://ik.imagekit.io/test_imagekit_id////" path={relativePath} />
);

expect(ikImage.find('img').prop('src')).toEqual(`http://ik.imagekit.io/test_imagekit_id${relativePath}?${global.SDK_VERSION}`);
expect(ikImage.find('img').prop('src')).toEqual(`http://ik.imagekit.io/test_imagekit_id/${relativePath}?${global.SDK_VERSION}`);
});

test("path with lqip", () => {
Expand Down

0 comments on commit 74364cd

Please sign in to comment.