Skip to content

Commit 2129d0f

Browse files
committed
fix typecheck
1 parent 8760dfa commit 2129d0f

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

tests/ui/SearchActionHeaderTest.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,14 @@ function renderSearchActionHeader(action: ReportAction, report: Report | undefin
3636
<SearchScopeProvider isOnSearch={isOnSearch}>
3737
{/* shouldUseLiveData: true keeps useOnyx reading from real Onyx collections instead of a search snapshot, since this test doesn't set up snapshot data */}
3838
<SearchResultsContext.Provider
39-
value={{currentSearchResults: undefined, shouldUseLiveData: true, sortedReportIDs: [], shouldShowFiltersBarLoading: false, lastSearchType: undefined}}
39+
value={{
40+
currentSearchResults: undefined,
41+
currentSearchViolations: CONST.EMPTY_OBJECT,
42+
shouldUseLiveData: true,
43+
sortedReportIDs: [],
44+
shouldShowFiltersBarLoading: false,
45+
lastSearchType: undefined,
46+
}}
4047
>
4148
<SearchActionHeader
4249
action={action}

0 commit comments

Comments
 (0)