mirror of
https://github.com/LukeHagar/unicorn-utterances.git
synced 2025-12-06 04:21:55 +00:00
17 lines
265 B
TypeScript
17 lines
265 B
TypeScript
jest.mock("gatsby-image", () => {
|
|
const React = require("react");
|
|
|
|
return (props: any) => {
|
|
return (
|
|
<img
|
|
src={props.fixed}
|
|
alt={props.alt}
|
|
data-testid={props["data-testid"]}
|
|
className={props.className}
|
|
/>
|
|
);
|
|
};
|
|
});
|
|
|
|
export default {};
|