17 lines
486 B
TypeScript
17 lines
486 B
TypeScript
/* eslint-disable */
|
|
// @ts-expect-error ts-migrate(7016) FIXME: Could not find a declaration file for module '../.... Remove this comment to see the full error message
|
|
import localStorage from "../../__mocks__/localStorage";
|
|
import Enzyme from "enzyme";
|
|
import Adapter from "enzyme-adapter-react-16";
|
|
import { initI18n } from "../utils/i18n";
|
|
|
|
initI18n();
|
|
|
|
Enzyme.configure({
|
|
adapter: new Adapter()
|
|
});
|
|
|
|
global.localStorage = localStorage;
|
|
|
|
require("jest-fetch-mock").enableMocks();
|