From 97874806d1f034e4617b11be889e89f1b7327087 Mon Sep 17 00:00:00 2001 From: Pengfei Qian Date: Mon, 15 Apr 2024 12:24:46 +0800 Subject: [PATCH] ADM-909:[frontend]fix test --- .../__tests__/containers/ConfigStep/DateRangePicker.test.tsx | 2 -- 1 file changed, 2 deletions(-) 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');