rickvanlieshout.com/internal/testing/jest-setup.ts

2 lines
77 B
TypeScript
Raw Normal View History

jest.mock("gatsby", () => jest.requireActual("./__mocks__/gatsby").default);