Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion web/src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import ReactDOM from "react-dom";
import { BrowserRouter, Route, Routes} from "react-router-dom";
import { BrowserRouter, Route, Routes } from "react-router-dom";
import { ChakraProvider } from "@chakra-ui/react";
import { QueryClient, QueryClientProvider } from "react-query";

Expand Down
4 changes: 2 additions & 2 deletions web/src/pages/landing/Landing.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ test("button click requests user data", async () => {
const getSpy = jest.spyOn(axios, "get");

render(
<Router history={history}>
<Router location={history.location} navigator={history}>
<Landing />
</Router>,
{ wrapper: TestWrapper }
Expand All @@ -84,7 +84,7 @@ test("should start auth flow on 401", async () => {
status: 401,
data: null,
statusText: "",
headers: null,
headers: {},
config: {},
},
};
Expand Down
4 changes: 2 additions & 2 deletions web/src/pages/welcome/Welcome.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ test("redirects when user request errors", async () => {
);

render(
<Router history={history}>
<Router location={history.location} navigator={history}>
<Welcome />
</Router>,
{ wrapper: TestWrapper }
Expand All @@ -71,7 +71,7 @@ test("renders user from request", async () => {
);

render(
<Router history={history}>
<Router location={history.location} navigator={history}>
<Welcome />
</Router>,
{ wrapper: TestWrapper }
Expand Down