Update tests

This commit is contained in:
alxshelepenok
2018-11-11 14:51:07 +03:00
parent cca1567f16
commit 55e877a81b
15 changed files with 30 additions and 22 deletions

View File

@@ -12,7 +12,7 @@ describe('Feed', () => {
categorySlug: '/test_0'
},
frontmatter: {
date: '2016-09-01T23:46:37.121Z',
date: '2016-09-01',
description: 'test_0',
category: 'test_0',
title: 'test_0'
@@ -26,7 +26,7 @@ describe('Feed', () => {
categorySlug: '/test_1'
},
frontmatter: {
date: '2016-09-01T23:46:37.121Z',
date: '2016-09-01',
description: 'test_1',
category: 'test_1',
title: 'test_1'

View File

@@ -12,7 +12,7 @@ exports[`Feed renders correctly 1`] = `
>
<time
className="feed__item-meta-time"
dateTime="September 2, 2016"
dateTime="September 1, 2016"
>
September 2016
</time>
@@ -60,7 +60,7 @@ exports[`Feed renders correctly 1`] = `
>
<time
className="feed__item-meta-time"
dateTime="September 2, 2016"
dateTime="September 1, 2016"
>
September 2016
</time>