mirror of
https://github.com/LukeHagar/unicorn-utterances.git
synced 2025-12-10 04:22:06 +00:00
chore: fix tests
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
import "./disqus-react";
|
||||
import "./next-link";
|
||||
import "./next-image";
|
||||
|
||||
9
__mocks__/modules/next-image.tsx
Normal file
9
__mocks__/modules/next-image.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
jest.mock("next/image", () => {
|
||||
const React = require("react");
|
||||
|
||||
return function NextImage(props: any) {
|
||||
return <img {...props}>{props.children}</img>;
|
||||
};
|
||||
});
|
||||
|
||||
export default {};
|
||||
Reference in New Issue
Block a user