mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-08 06:53:11 +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,
|
writable: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
const mockSearchQuery = searchQuery as jest.MockedFunction<typeof searchQuery>;
|
const mockSearchQuery = searchQuery as jest.Mock;
|
||||||
const mockUseTranslation = useTranslation as jest.MockedFunction<
|
const mockUseTranslation = useTranslation as jest.Mock;
|
||||||
typeof useTranslation
|
const mockUseTourProvider = useTourProvider as jest.Mock;
|
||||||
>;
|
|
||||||
const mockUseTourProvider = useTourProvider as jest.MockedFunction<
|
|
||||||
typeof useTourProvider
|
|
||||||
>;
|
|
||||||
|
|
||||||
const defaultProps = {
|
const defaultProps = {
|
||||||
searchText: 'test',
|
searchText: 'test',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user