Skip to content

Commit 959eeda

Browse files
committed
chore(*): fixing the failing tests
1 parent 75d4180 commit 959eeda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/igniteui-angular/src/lib/test-utils/configure-suite.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const configureTestSuite = (configureAction?: () => TestBed) => {
2323
let _resizerSub: jasmine.Spy<OnErrorEventHandlerNonNull>;
2424

2525
beforeAll(() => {
26-
// testBed.resetTestingModule();
26+
testBed.resetTestingModule();
2727
testBed.resetTestingModule = () => testBed;
2828
_resizerSub = resizeObserverIgnoreError();
2929
});
@@ -39,7 +39,7 @@ export const configureTestSuite = (configureAction?: () => TestBed) => {
3939
clearSVGContainer();
4040
(testBed as any)._activeFixtures.forEach((fixture: ComponentFixture<any>) => {
4141
const element = fixture.debugElement.nativeElement as HTMLElement;
42-
// fixture.destroy();
42+
fixture.destroy();
4343
// If the fixture element ID changes, then it's not properly disposed
4444
element?.remove();
4545
});

0 commit comments

Comments
 (0)