Logo
Explore Help
Sign In
iSharkFly-Docs/angular-docs-cn
1
0
Fork 0
You've already forked angular-docs-cn
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
angular-docs-cn/aio/src/testing/search.service.ts

10 lines
305 B
TypeScript
Raw Normal View History

build(aio): upgrade `rxjs` to `6.0.0-beta.0` (#22872) PR Close #22872
2018-03-20 18:22:59 +02:00
import { Subject } from 'rxjs';
feat(aio): allow SearchService to have multiple clients (#19682) PR Close #19682
2017-10-11 22:04:50 +01:00
import { SearchResults } from 'app/search/interfaces';
feat(aio): improve search results functionality * Ensure that all indexed documents are displayed in the search results. (Previously the guide documents were not appearing because we only showed results that had a `name` property, rather than a `name` or `title`.) * Group the results by their containing folder (e.g. api, guide, tutorial, etc). * Hide the results when the user hits the ESC key. * Hide the results when the user clicks on a search result Closes #14852
2017-03-13 19:58:31 +00:00
export class MockSearchService {
searchResults = new Subject<SearchResults>();
initWorker = jasmine.createSpy('initWorker');
loadIndex = jasmine.createSpy('loadIndex');
search = jasmine.createSpy('search');
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 6159ms Template: 9ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API