text: 'use strict';
  
  const React = require('react');
  const gatsby = jest.requireActual('gatsby');
  
  module.exports = {
  	...gatsby,
  	graphql: jest.fn(),
  	StaticQuery: jest.fn(),
  	useStaticQuery: jest.fn(),
  	Link: jest.fn().mockImplementation(({
  		activeClassName,
  		activeStyle,
  		getProps,
  		innerRef,
  		partiallyActive,
  		ref,
  		replace,
  		to,
  		...rest
  	}) => React.createElement('a', {
  		...rest,
  		href: to,
  	})),
  };
  