MockDaffSearchFacade

Mocks out facade fields and methods for testing purposes.

Properties

Name Type Description
loading$ BehaviorSubject<boolean> Whether there is a pending search operation.
errors$ BehaviorSubject<DaffStateError[]> A list of search errors, if any.
recent$ BehaviorSubject<string[]> The recent search queries.
searchResultIds$ BehaviorSubject<Record<DaffSearchResult['kind'], DaffSearchResult['id'][]>> The result IDs of the most recent search.
resultCount$ BehaviorSubject<number> The number of results in the most recent search.
dispatch
Graycore, LLC © 2018 - 2024. Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.