chore: formatted, prettified, legacy deps

This commit is contained in:
2025-07-16 10:52:08 +02:00
parent 7c93cd76d9
commit a83befd5b2
22 changed files with 682 additions and 1619 deletions

View File

@@ -5,24 +5,12 @@ const gatsby = jest.requireActual("gatsby");
export default {
...gatsby,
graphql: jest.fn(),
Link: jest
.fn()
.mockImplementation(
({
activeClassName,
activeStyle,
getProps,
innerRef,
ref,
replace,
to,
...rest
}) =>
React.createElement("a", {
...rest,
href: to,
}),
),
Link: jest.fn().mockImplementation(({ to, ...rest }) =>
React.createElement("a", {
...rest,
href: to,
}),
),
StaticQuery: jest.fn(),
useStaticQuery: jest.fn(),
};