UNPKG

@redocly/theme

Version:

Shared UI components lib

11 lines (9 loc) 241 B
import { vi } from 'vitest'; export const useRecentSearches = vi.fn(() => { const items = ['test']; return { items, addSearchHistoryItem: (value: string) => value, removeSearchHistoryItem: (value: string) => value, }; });