Update tests

This commit is contained in:
alxshelepenok 2018-11-09 23:03:28 +03:00
parent 10d4784cdd
commit 38090a3a0f
4 changed files with 4 additions and 2 deletions

View File

@ -6,6 +6,7 @@ describe('Author', () => {
const props = { const props = {
author: { author: {
name: 'test', name: 'test',
photo: '/photo.jpg',
bio: 'test' bio: 'test'
} }
}; };

View File

@ -11,7 +11,7 @@ exports[`Author renders correctly 1`] = `
alt="test" alt="test"
className="author__photo" className="author__photo"
height="75" height="75"
src="file" src="/photo.jpg"
width="75" width="75"
/> />
</Link> </Link>

View File

@ -10,6 +10,7 @@ describe('Sidebar', () => {
siteMetadata: { siteMetadata: {
author: { author: {
name: 'name', name: 'name',
photo: '/photo.jpg',
bio: 'bio', bio: 'bio',
contacts: { contacts: {
email: '#', email: '#',

View File

@ -17,7 +17,7 @@ exports[`Sidebar renders correctly 1`] = `
alt="name" alt="name"
className="author__photo" className="author__photo"
height="75" height="75"
src="file" src="/photo.jpg"
width="75" width="75"
/> />
</Link> </Link>