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