Skip to content

Commit

Permalink
refactor(aio): remove redundant test
Browse files Browse the repository at this point in the history
The search worker is now initialised from the `SearchBoxComponent`, which
has its own tests for this.

Closes #15593
  • Loading branch information
petebacondarwin authored and matsko committed May 5, 2017
1 parent 518eb54 commit 42dc2c1
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions aio/src/app/app.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 42dc2c1

Please sign in to comment.