mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2024-12-26 14:59:14 +01:00
Update tests
This commit is contained in:
parent
10d4784cdd
commit
38090a3a0f
@ -6,6 +6,7 @@ describe('Author', () => {
|
|||||||
const props = {
|
const props = {
|
||||||
author: {
|
author: {
|
||||||
name: 'test',
|
name: 'test',
|
||||||
|
photo: '/photo.jpg',
|
||||||
bio: 'test'
|
bio: 'test'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -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>
|
||||||
|
@ -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: '#',
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user