From b4e198a486ad24a826590d4f0bf75f041caf2c37 Mon Sep 17 00:00:00 2001 From: Kawika Avilla Date: Mon, 29 Jul 2024 02:55:31 +0000 Subject: [PATCH] update another mock Signed-off-by: Kawika Avilla --- .../data/public/query/state_sync/sync_state_with_url.test.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/data/public/query/state_sync/sync_state_with_url.test.ts b/src/plugins/data/public/query/state_sync/sync_state_with_url.test.ts index 02a60ea64852..94c2ccc9a350 100644 --- a/src/plugins/data/public/query/state_sync/sync_state_with_url.test.ts +++ b/src/plugins/data/public/query/state_sync/sync_state_with_url.test.ts @@ -60,6 +60,8 @@ setupMock.uiSettings.get.mockImplementation((key: string) => { return 'kuery'; case UI_SETTINGS.TIMEPICKER_REFRESH_INTERVAL_DEFAULTS: return { pause: false, value: 0 }; + case UI_SETTINGS.QUERY_ENHANCEMENTS_ENABLED: + return false; default: throw new Error(`sync_query test: not mocked uiSetting: ${key}`); }