Skip to content

Commit 5fcc8e0

Browse files
authored
test: update img url (#16)
* test: update img url * ad
1 parent fac6075 commit 5fcc8e0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/__snapshots__/index.spec.tsx.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
exports[`imageShadow render 1`] = `
44
<ImageShadow
5-
src="https://github.com/image-component/react-image-shadow/blob/main/image/red.png?raw=true"
5+
src="https://github.com/image-component/gallery/blob/main/girl/1.jpg?raw=true"
66
>
77
<div
88
className="react-image-shadow"
@@ -14,7 +14,7 @@ exports[`imageShadow render 1`] = `
1414
>
1515
<img
1616
className="react-image-shadow-img"
17-
src="https://github.com/image-component/react-image-shadow/blob/main/image/red.png?raw=true"
17+
src="https://github.com/image-component/gallery/blob/main/girl/1.jpg?raw=true"
1818
style={
1919
Object {
2020
"borderRadius": "8px",
@@ -26,7 +26,7 @@ exports[`imageShadow render 1`] = `
2626
className="react-image-shadow-card"
2727
style={
2828
Object {
29-
"backgroundImage": "url(https://github.com/image-component/react-image-shadow/blob/main/image/red.png?raw=true)",
29+
"backgroundImage": "url(https://github.com/image-component/gallery/blob/main/girl/1.jpg?raw=true)",
3030
"borderRadius": "8px",
3131
"filter": "blur(20px)",
3232
}

tests/index.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import ImageShadow from '../src';
66

77
describe('imageShadow', () => {
88
const testSrc =
9-
'https://github.com/image-component/react-image-shadow/blob/main/image/red.png?raw=true';
9+
'https://github.com/image-component/gallery/blob/main/girl/1.jpg?raw=true';
1010

1111
it('render', () => {
1212
let wrapper;

0 commit comments

Comments
 (0)