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:
parent
518eb540aa
commit
42dc2c19ee
|
@ -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', () => {
|
describe('initial rendering', () => {
|
||||||
beforeEach(async(() => {
|
beforeEach(async(() => {
|
||||||
createTestingModule('a/b');
|
createTestingModule('a/b');
|
||||||
|
|
Loading…
Reference in New Issue