diff --git a/webapp/src/components/Login.test.js b/webapp/src/components/Login.test.js index 3a461248..c7d7018c 100644 --- a/webapp/src/components/Login.test.js +++ b/webapp/src/components/Login.test.js @@ -121,7 +121,7 @@ describe('Login Component', () => { }); await waitFor(async () => { - expect(screen.getByText(new RegExp(tabText,i))).toBeInTheDocument(); + expect(screen.getByText(new RegExp(tabText,'i'))).toBeInTheDocument(); }); }