mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-09-15 12:41:06 +02:00
chore: formatted, prettified, legacy deps
This commit is contained in:
@@ -6,15 +6,12 @@ import NotFoundTemplate from "./NotFoundTemplate";
|
||||
|
||||
import * as mocks from "@/mocks";
|
||||
|
||||
|
||||
const mockedStaticQuery = StaticQuery as jest.Mock;
|
||||
const mockedUseStaticQuery = useStaticQuery as jest.Mock;
|
||||
|
||||
describe("NotFoundTemplate", () => {
|
||||
beforeEach(() => {
|
||||
mockedStaticQuery.mockImplementationOnce(({ render }) =>
|
||||
render(mocks.siteMetadata),
|
||||
);
|
||||
mockedStaticQuery.mockImplementationOnce(({ render }) => render(mocks.siteMetadata));
|
||||
mockedUseStaticQuery.mockReturnValue(mocks.siteMetadata);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user