🧪 Add mock implementation for search history in GamemasterExplorer tests
This commit is contained in:
@@ -39,6 +39,11 @@ vi.mock('../../../src/composables/useGamemasterSearch.js', () => ({
|
||||
currentResultIndex: ref(-1),
|
||||
isSearching: ref(false),
|
||||
searchError: ref(null),
|
||||
searchHistory: {
|
||||
history: ref([]),
|
||||
addToHistory: vi.fn(),
|
||||
clearHistory: vi.fn()
|
||||
},
|
||||
executeSearch: vi.fn(),
|
||||
clearSearch: vi.fn(),
|
||||
goToNextResult: vi.fn(),
|
||||
|
||||
Reference in New Issue
Block a user