diff --git a/js_modules/dagster-ui/packages/ui-core/src/ticks/__tests__/EvaluateScheduleDialog.test.tsx b/js_modules/dagster-ui/packages/ui-core/src/ticks/__tests__/EvaluateScheduleDialog.test.tsx index f7156dd27dad6..a8a2b55c06eb5 100644 --- a/js_modules/dagster-ui/packages/ui-core/src/ticks/__tests__/EvaluateScheduleDialog.test.tsx +++ b/js_modules/dagster-ui/packages/ui-core/src/ticks/__tests__/EvaluateScheduleDialog.test.tsx @@ -29,9 +29,7 @@ jest.mock('react-router-dom', () => ({ // Mocking useTrackEvent jest.mock('../../app/analytics', () => ({ - useTrackEvent: jest.fn(() => { - jest.fn(); - }), + useTrackEvent: jest.fn(() => jest.fn()), })); const onCloseMock = jest.fn(); diff --git a/js_modules/dagster-ui/packages/ui-core/src/ticks/__tests__/SensorDryRunDialog.test.tsx b/js_modules/dagster-ui/packages/ui-core/src/ticks/__tests__/SensorDryRunDialog.test.tsx index 216218863de3e..efb95aa30ed1e 100644 --- a/js_modules/dagster-ui/packages/ui-core/src/ticks/__tests__/SensorDryRunDialog.test.tsx +++ b/js_modules/dagster-ui/packages/ui-core/src/ticks/__tests__/SensorDryRunDialog.test.tsx @@ -23,9 +23,7 @@ jest.mock('react-router-dom', () => ({ // Mocking useTrackEvent jest.mock('../../app/analytics', () => ({ - useTrackEvent: jest.fn(() => { - jest.fn(); - }), + useTrackEvent: jest.fn(() => jest.fn()), })); const onCloseMock = jest.fn();