diff --git a/frontend/__tests__/containers/ConfigStep/DateRangePicker.test.tsx b/frontend/__tests__/containers/ConfigStep/DateRangePicker.test.tsx index 854476523e..c51c374d19 100644 --- a/frontend/__tests__/containers/ConfigStep/DateRangePicker.test.tsx +++ b/frontend/__tests__/containers/ConfigStep/DateRangePicker.test.tsx @@ -173,8 +173,6 @@ describe('DateRangePickerSection', () => { }); it('should dispatch update configuration when remove the range', async () => { - setup(); - const addButton = screen.getByLabelText('Button for adding date range'); await userEvent.click(addButton); const ranges = screen.getAllByLabelText('Range picker row');