Skip to content

Commit 74364cd

Browse files
committed
test case slash fix
1 parent 3b1d7ea commit 74364cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/IKImage.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ describe('IKImage', () => {
104104
<IKImage urlEndpoint="http://ik.imagekit.io/test_imagekit_id////" path={relativePath} />
105105
);
106106

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

110110
test("path with lqip", () => {

0 commit comments

Comments
 (0)