Skip to content

Commit be2f9e5

Browse files
committed
fix(testing): replace MemoryRouter with MemoryRouter from react-router-dom
1 parent 1bab1f9 commit be2f9e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/testing/testUtils.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React, { FC } from "react";
22
import { QueryClient, QueryClientProvider } from "react-query";
33
import { render, RenderOptions, RenderResult } from "@testing-library/react";
44
import { AxiosHeaders, AxiosResponse } from "axios";
5-
import { MemoryRouter } from "react-router";
5+
import { MemoryRouter } from "react-router-dom";
66

77
export * from "@testing-library/react";
88

0 commit comments

Comments
 (0)