Skip to content

Commit cc47820

Browse files
MKirovaMKirova
authored andcommitted
chore(*): Fix unrelated respy issue in combo tests.
1 parent 94eb0a8 commit cc47820

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

projects/igniteui-angular/src/lib/simple-combo/simple-combo.component.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,7 @@ describe('IgxSimpleCombo', () => {
532532
});
533533

534534
it('should delete the selection on destroy', () => {
535+
jasmine.getEnv().allowRespy(true);
535536
const selectionService = new IgxSelectionAPIService();
536537
const comboClearSpy = spyOn(mockComboService, 'clear');
537538
const selectionDeleteSpy = spyOn(selectionService, 'delete');
@@ -548,6 +549,7 @@ describe('IgxSimpleCombo', () => {
548549
combo.ngOnDestroy();
549550
expect(comboClearSpy).toHaveBeenCalled();
550551
expect(selectionDeleteSpy).toHaveBeenCalled();
552+
jasmine.getEnv().allowRespy(false);
551553
});
552554
});
553555

0 commit comments

Comments
 (0)