Upgrade to Gatsby v2

This commit is contained in:
alxshelepenok
2018-11-09 20:08:48 +03:00
parent e83dfc6dff
commit 8b92891329
204 changed files with 18708 additions and 3904 deletions

View File

@@ -0,0 +1,3 @@
'use strict';
module.exports = 'file';

10
tests/__mocks__/gatsby.js Normal file
View File

@@ -0,0 +1,10 @@
'use strict';
const gatsby = jest.requireActual('gatsby');
module.exports = {
...gatsby,
graphql: jest.fn(),
Link: 'Link',
StaticQuery: 'StaticQuery'
};