()
| 38 | }); |
| 39 | |
| 40 | const goBack = async () => { |
| 41 | const count = nextRouted.length; |
| 42 | act(() => window.history.back()); |
| 43 | await waitFor(() => expect(nextRouted).toHaveLength(count + 1)); |
| 44 | }; |
| 45 | |
| 46 | it('closes on back without the page under it routing', async () => { |
| 47 | const onBack = jest.fn(); |
no test coverage detected