diff --git a/spec/frontend/todos/components/todos_app_spec.js b/spec/frontend/todos/components/todos_app_spec.js index ab01313475ab88be6f5b723619b28b5d6bf25efc..1e1871c8ee0412105893307bd1702d2600d21ec4 100644 --- a/spec/frontend/todos/components/todos_app_spec.js +++ b/spec/frontend/todos/components/todos_app_spec.js @@ -180,7 +180,6 @@ describe('TodosApp', () => { }); it('refetches todos one second after the cursor leaves the list of todos', async () => { - jest.useFakeTimers(); createComponent(); // Wait and account for initial query @@ -208,7 +207,6 @@ describe('TodosApp', () => { }); it('does not refresh todos after the cursor leaves the list of todos if nothing changed', async () => { - jest.useFakeTimers(); createComponent(); // Wait and account for initial query