refactor(aio): remove redundant test

The search worker is now initialised from the `SearchBoxComponent`, which
has its own tests for this.

Closes #15593
This commit is contained in:
Peter Bacon Darwin 2017-05-05 09:26:55 +01:00 committed by Matias Niemelä
parent 518eb540aa
commit 42dc2c19ee
1 changed files with 0 additions and 8 deletions

View File

@ -355,14 +355,6 @@ describe('AppComponent', () => {
});
});
describe('search worker', () => {
it('should initialize the search worker', inject([SearchService], (searchService: SearchService) => {
fixture.detectChanges(); // triggers ngOnInit
expect(searchService.initWorker).toHaveBeenCalled();
expect(searchService.loadIndex).toHaveBeenCalled();
}));
});
describe('initial rendering', () => {
beforeEach(async(() => {
createTestingModule('a/b');