aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/__tests__
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-11-20 17:00:33 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:53 +0300
commita799b4ffe210a77a64117e1437c026bd771e3ac7 (patch)
treed6af88ac1b8f16dc0ce91cf95f29babadc4f790f /vnext/src/components/__tests__
parent17305826a559cee54829a7cb59b0aeed9d31d526 (diff)
avatars from api
Diffstat (limited to 'vnext/src/components/__tests__')
-rw-r--r--vnext/src/components/__tests__/Avatar.test.js2
-rw-r--r--vnext/src/components/__tests__/__snapshots__/Avatar.test.js.snap2
2 files changed, 2 insertions, 2 deletions
diff --git a/vnext/src/components/__tests__/Avatar.test.js b/vnext/src/components/__tests__/Avatar.test.js
index e1a12912..e7221871 100644
--- a/vnext/src/components/__tests__/Avatar.test.js
+++ b/vnext/src/components/__tests__/Avatar.test.js
@@ -7,7 +7,7 @@ import renderer from 'react-test-renderer';
test('Avatar renders correctly', () => {
const component = renderer.create(
<MemoryRouter>
- <Avatar user={{ uid: 1, uname: 'ugnich' }} />
+ <Avatar user={{ uid: 1, uname: 'ugnich', avatar: 'https://juick.com/i/a/1-deadbeef.png' }} />
</MemoryRouter>
);
let tree = component.toJSON();
diff --git a/vnext/src/components/__tests__/__snapshots__/Avatar.test.js.snap b/vnext/src/components/__tests__/__snapshots__/Avatar.test.js.snap
index ef7be4ed..bbd39866 100644
--- a/vnext/src/components/__tests__/__snapshots__/Avatar.test.js.snap
+++ b/vnext/src/components/__tests__/__snapshots__/Avatar.test.js.snap
@@ -17,7 +17,7 @@ exports[`Avatar renders correctly 1`] = `
>
<img
alt="ugnich"
- src="//i.juick.com/a/1.png"
+ src="https://juick.com/i/a/1-deadbeef.png"
/>
</a>
</div>