You need JavaScript to use Regexper.
@@ -61,6 +62,7 @@ IndexPage.propTypes = {
data: PropTypes.shape({
site: PropTypes.shape({
siteMetadata: PropTypes.shape({
+ description: PropTypes.string,
defaultSyntax: PropTypes.string,
syntaxList: PropTypes.arrayOf(PropTypes.shape({
id: PropTypes.string,
diff --git a/src/pages/index.test.js b/src/pages/index.test.js
index e2f6f9f..ede26f7 100644
--- a/src/pages/index.test.js
+++ b/src/pages/index.test.js
@@ -6,6 +6,7 @@ import { IndexPage } from 'pages/index';
const queryResult = {
site: {
siteMetadata: {
+ description: 'Test description',
defaultSyntax: 'testJs',
syntaxList: [
{ id: 'testJS', name: 'Testing JS' },