diff --git a/src/components/Sidebar/Author/Author.test.js b/src/components/Sidebar/Author/Author.test.js index 6bacee6..8f8e0d3 100644 --- a/src/components/Sidebar/Author/Author.test.js +++ b/src/components/Sidebar/Author/Author.test.js @@ -6,6 +6,7 @@ describe('Author', () => { const props = { author: { name: 'test', + photo: '/photo.jpg', bio: 'test' } }; diff --git a/src/components/Sidebar/Author/__snapshots__/Author.test.js.snap b/src/components/Sidebar/Author/__snapshots__/Author.test.js.snap index f8672d0..875b0f0 100644 --- a/src/components/Sidebar/Author/__snapshots__/Author.test.js.snap +++ b/src/components/Sidebar/Author/__snapshots__/Author.test.js.snap @@ -11,7 +11,7 @@ exports[`Author renders correctly 1`] = ` alt="test" className="author__photo" height="75" - src="file" + src="/photo.jpg" width="75" /> diff --git a/src/components/Sidebar/Sidebar.test.js b/src/components/Sidebar/Sidebar.test.js index e387bdc..f83d6a0 100644 --- a/src/components/Sidebar/Sidebar.test.js +++ b/src/components/Sidebar/Sidebar.test.js @@ -10,6 +10,7 @@ describe('Sidebar', () => { siteMetadata: { author: { name: 'name', + photo: '/photo.jpg', bio: 'bio', contacts: { email: '#', diff --git a/src/components/Sidebar/__snapshots__/Sidebar.test.js.snap b/src/components/Sidebar/__snapshots__/Sidebar.test.js.snap index 359ce73..827f553 100644 --- a/src/components/Sidebar/__snapshots__/Sidebar.test.js.snap +++ b/src/components/Sidebar/__snapshots__/Sidebar.test.js.snap @@ -17,7 +17,7 @@ exports[`Sidebar renders correctly 1`] = ` alt="name" className="author__photo" height="75" - src="file" + src="/photo.jpg" width="75" />