rickvanlieshout.com/jest/__fixtures__/all-markdown-remark.js
2019-05-09 16:37:54 +03:00

47 lines
841 B
JavaScript

'use strict';
module.exports = {
allMarkdownRemark: {
group: [
{
fieldValue: 'test_0',
totalCount: 1
},
{
fieldValue: 'test_1',
totalCount: 2
}
],
edges: [
{
node: {
fields: {
slug: '/test_0',
categorySlug: '/test'
},
frontmatter: {
date: '2016-09-01',
description: 'test_0',
category: 'test',
title: 'test_0'
}
}
},
{
node: {
fields: {
slug: '/test_1',
categorySlug: '/test'
},
frontmatter: {
date: '2016-09-01',
description: 'test_1',
category: 'test',
title: 'test_1'
}
}
}
]
}
};