10 lines
317 B
TypeScript
10 lines
317 B
TypeScript
|
import { Subject } from 'rxjs/Subject';
|
||
|
import { SearchResults } from 'app/search/search.service';
|
||
|
|
||
|
export class MockSearchService {
|
||
|
searchResults = new Subject<SearchResults>();
|
||
|
initWorker = jasmine.createSpy('initWorker');
|
||
|
loadIndex = jasmine.createSpy('loadIndex');
|
||
|
search = jasmine.createSpy('search');
|
||
|
}
|