Add tests for Map components

This commit is contained in:
Stuart Taylor
2018-04-08 01:16:03 +01:00
committed by Mrugesh Mohapatra
parent bd285f8ee5
commit fc52d5ae3c
18 changed files with 1704 additions and 44 deletions

View File

@@ -0,0 +1,110 @@
export default [
{
fields: {
slug: '/super-block-one/block-a/challenge-one',
blockName: 'Block A'
},
block: 'block-a',
title: 'Challenge One',
isRequired: false,
isPrivate: false,
superBlock: 'Super Block One',
dashedName: 'challenge-one'
},
{
fields: {
slug: '/super-block-one/block-a/challenge-two',
blockName: 'Block A'
},
block: 'block-a',
title: 'Challenge Two',
isRequired: false,
isPrivate: false,
superBlock: 'Super Block One',
dashedName: 'challenge-two'
},
{
fields: {
slug: '/super-block-one/block-b/challenge-one',
blockName: 'Block B'
},
block: 'block-b',
title: 'Challenge One',
isRequired: false,
isPrivate: false,
superBlock: 'Super Block One',
dashedName: 'challenge-one'
},
{
fields: {
slug: '/super-block-one/block-b/challenge-two',
blockName: 'Block B'
},
block: 'block-b',
title: 'Challenge Two',
isRequired: false,
isPrivate: false,
superBlock: 'Super Block One',
dashedName: 'challenge-two'
},
{
fields: {
slug: '/super-block-one/block-c/challenge-one',
blockName: 'Block C'
},
block: 'block-c',
title: 'Challenge One',
isRequired: false,
isPrivate: true,
superBlock: 'Super Block One',
dashedName: 'challenge-one'
},
{
fields: {
slug: '/super-block-one/block-a/challenge-one',
blockName: 'Block A'
},
block: 'block-a',
title: 'Challenge One',
isRequired: false,
isPrivate: false,
superBlock: 'Super Block Two',
dashedName: 'challenge-one'
},
{
fields: {
slug: '/super-block-one/block-a/challenge-two',
blockName: 'Block A'
},
block: 'block-a',
title: 'Challenge Two',
isRequired: false,
isPrivate: false,
superBlock: 'Super Block Two',
dashedName: 'challenge-two'
},
{
fields: {
slug: '/super-block-one/block-b/challenge-one',
blockName: 'Block B'
},
block: 'block-b',
title: 'Challenge One',
isRequired: false,
isPrivate: false,
superBlock: 'Super Block Two',
dashedName: 'challenge-one'
},
{
fields: {
slug: '/super-block-one/block-b/challenge-two',
blockName: 'Block B'
},
block: 'block-b',
title: 'Challenge Two',
isRequired: false,
isPrivate: false,
superBlock: 'Super Block Two',
dashedName: 'challenge-two'
}
];