mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-01 19:18:05 +00:00
fix Suggestions.test.tsx (#23058)
This commit is contained in:
parent
bef698b8e6
commit
7bf06c5ecd
@ -65,13 +65,9 @@ Object.defineProperty(window, 'location', {
|
||||
writable: true,
|
||||
});
|
||||
|
||||
const mockSearchQuery = searchQuery as jest.MockedFunction<typeof searchQuery>;
|
||||
const mockUseTranslation = useTranslation as jest.MockedFunction<
|
||||
typeof useTranslation
|
||||
>;
|
||||
const mockUseTourProvider = useTourProvider as jest.MockedFunction<
|
||||
typeof useTourProvider
|
||||
>;
|
||||
const mockSearchQuery = searchQuery as jest.Mock;
|
||||
const mockUseTranslation = useTranslation as jest.Mock;
|
||||
const mockUseTourProvider = useTourProvider as jest.Mock;
|
||||
|
||||
const defaultProps = {
|
||||
searchText: 'test',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user