Skip to content

Commit

Permalink
Update web/src/__tests__/Sidebar.test.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
hunterjm authored and blakeblackshear committed Jun 6, 2021
1 parent 2a33c05 commit de3a19c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/__tests__/Sidebar.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe('Sidebar', () => {
expect(screen.queryByRole('link', { name: 'side' })).toBeInTheDocument();
});

test('render cameras if in camera route', async () => {
test('render cameras if in record route', async () => {
window.history.replaceState({}, 'Front Recordings', '/recording/front');
render(<Sidebar />);
expect(screen.queryByRole('link', { name: 'front' })).toBeInTheDocument();
Expand Down

0 comments on commit de3a19c

Please sign in to comment.