Skip to content

Commit

Permalink
removes capitlisation
Browse files Browse the repository at this point in the history
  • Loading branch information
HarveyPeachey committed Aug 19, 2024
1 parent 43c2a2f commit a5e7d97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/components/Header/ScriptLink/index.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ const requestContextMock = {
};

const withRouter = (
Component: React.ReactElement,
component: React.ReactElement,
matchPath: string,
path: string,
) => {
const Wrapper = (
<MemoryRouter initialEntries={[path]}>
<Route path={matchPath}>{Component}</Route>
<Route path={matchPath}>{component}</Route>
</MemoryRouter>
);

Expand Down

0 comments on commit a5e7d97

Please sign in to comment.