From 994f74b9554e64aefee135f74301e3a48640dc63 Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Sat, 12 Feb 2022 07:31:33 -0700 Subject: [PATCH] Fix test to consider all cameras to have recording link --- web/src/routes/__tests__/Cameras.test.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/routes/__tests__/Cameras.test.jsx b/web/src/routes/__tests__/Cameras.test.jsx index 68d0d0a80..cdb0c400d 100644 --- a/web/src/routes/__tests__/Cameras.test.jsx +++ b/web/src/routes/__tests__/Cameras.test.jsx @@ -46,7 +46,7 @@ describe('Cameras Route', () => { expect(screen.queryByLabelText('Loading…')).not.toBeInTheDocument(); - expect(screen.queryAllByText('Recordings')).toHaveLength(1); + expect(screen.queryAllByText('Recordings')).toHaveLength(2); }); test('buttons toggle detect, clips, and snapshots', async () => {