Skip to content

Commit

Permalink
fixing sync_state_with_url test
Browse files Browse the repository at this point in the history
Signed-off-by: Sean Li <lnse@amazon.com>
  • Loading branch information
sejli committed Sep 26, 2024
1 parent 633f666 commit 18d458d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ setupMock.uiSettings.get.mockImplementation((key: string) => {
return { pause: false, value: 0 };
case UI_SETTINGS.QUERY_ENHANCEMENTS_ENABLED:
return false;
case UI_SETTINGS.SEARCH_MAX_RECENT_DATASETS:
return 4;
default:
throw new Error(`sync_query test: not mocked uiSetting: ${key}`);
}
Expand Down

0 comments on commit 18d458d

Please sign in to comment.