Skip to content

Commit

Permalink
fix linting on master (#4415)
Browse files Browse the repository at this point in the history
  • Loading branch information
lctrt authored Oct 16, 2024
1 parent cdebc4d commit cd710a0
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,13 @@ it('displays error message when description is missing', async () => {

it('should go back when cancel button is clicked', () => {
const { getByText } = render(
<Router history={history}>
<Route path="/form">
<ComplianceReportForm {...defaultProps} />
</Route>
</Router>,
{ wrapper: MemoryRouter },
<MemoryRouter>
<Router history={history}>
<Route path="/form">
<ComplianceReportForm {...defaultProps} />
</Route>
</Router>
</MemoryRouter>,
);

history.push('/another-url');
Expand Down

0 comments on commit cd710a0

Please sign in to comment.