mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-07-27 12:42:28 +02:00
Update tests
This commit is contained in:
@@ -5,7 +5,7 @@ import Meta from './Meta';
|
||||
describe('Meta', () => {
|
||||
it('renders correctly', () => {
|
||||
const props = {
|
||||
date: '2016-09-01T23:46:37.121Z'
|
||||
date: '2016-09-01'
|
||||
};
|
||||
|
||||
const tree = renderer.create(<Meta {...props} />).toJSON();
|
||||
|
@@ -8,7 +8,7 @@ exports[`Meta renders correctly 1`] = `
|
||||
className="meta__date"
|
||||
>
|
||||
Published
|
||||
2 Sep 2016
|
||||
1 Sep 2016
|
||||
</p>
|
||||
</div>
|
||||
`;
|
||||
|
@@ -13,7 +13,7 @@ describe('Post', () => {
|
||||
]
|
||||
},
|
||||
frontmatter: {
|
||||
date: '2016-09-01T23:46:37.121Z',
|
||||
date: '2016-09-01',
|
||||
tags: [
|
||||
'test_0',
|
||||
'test_1'
|
||||
|
@@ -41,7 +41,7 @@ exports[`Post renders correctly 1`] = `
|
||||
className="meta__date"
|
||||
>
|
||||
Published
|
||||
2 Sep 2016
|
||||
1 Sep 2016
|
||||
</p>
|
||||
</div>
|
||||
<div
|
||||
|
Reference in New Issue
Block a user