From 2bbef2f75fde60044f37942842654be7f06edcbd Mon Sep 17 00:00:00 2001 From: David Liu Date: Wed, 11 Dec 2024 18:02:49 -0500 Subject: [PATCH] address graphite reviewer comments --- .../src/ticks/__tests__/EvaluateScheduleDialog.test.tsx | 4 +--- .../ui-core/src/ticks/__tests__/SensorDryRunDialog.test.tsx | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) 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();