2018-03-20 12:22:59 -04:00
|
|
|
import { Subject } from 'rxjs';
|
2017-10-11 17:04:50 -04:00
|
|
|
import { SearchResults } from 'app/search/interfaces';
|
2017-03-13 15:58:31 -04:00
|
|
|
|
|
|
|
export class MockSearchService {
|
|
|
|
searchResults = new Subject<SearchResults>();
|
|
|
|
initWorker = jasmine.createSpy('initWorker');
|
|
|
|
loadIndex = jasmine.createSpy('loadIndex');
|
|
|
|
search = jasmine.createSpy('search');
|
|
|
|
}
|