chore: fix tests

This commit is contained in:
Corbin Crutchley
2022-01-08 15:00:23 -08:00
parent 361ef80f21
commit 25ba994325
3 changed files with 11 additions and 1 deletions

View File

@@ -1,2 +1,3 @@
import "./disqus-react";
import "./next-link";
import "./next-image";

View 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 {};