mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-07-29 13:42:28 +02:00
test: add fixtures
This commit is contained in:
41
jest/__fixtures__/site-metadata.js
Normal file
41
jest/__fixtures__/site-metadata.js
Normal file
@@ -0,0 +1,41 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
site: {
|
||||
siteMetadata: {
|
||||
url: 'http://localhost',
|
||||
title: 'Test title',
|
||||
subtitle: 'Test subtitle',
|
||||
copyright: 'Test copyright',
|
||||
disqusShortname: '',
|
||||
postsPerPage: 4,
|
||||
menu: [
|
||||
{
|
||||
label: 'Test label 1',
|
||||
path: '/test/1/'
|
||||
},
|
||||
{
|
||||
label: 'Test label 2',
|
||||
path: '/test/2/'
|
||||
},
|
||||
{
|
||||
label: 'Test label 3',
|
||||
path: '/test/3/'
|
||||
}
|
||||
],
|
||||
author: {
|
||||
name: 'Test name',
|
||||
photo: '/test.jpg',
|
||||
bio: 'Test bio',
|
||||
contacts: {
|
||||
email: '#',
|
||||
telegram: '#',
|
||||
twitter: '#',
|
||||
github: '#',
|
||||
rss: '#',
|
||||
vkontakte: '#'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user