Skip to content

Commit 5cfdd47

Browse files
committed
test: remove unnecessary test calls (#32396)
Removes calls to `TestBed.configureTestingModule` since they aren't necessary. (cherry picked from commit 06c78b4)
1 parent 9ae3b5a commit 5cfdd47

File tree

4 files changed

+0
-5
lines changed

4 files changed

+0
-5
lines changed

docs/src/app/shared/documentation-items/documentation-items.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ describe('DocViewer', () => {
88
let docsItems: DocumentationItems;
99

1010
beforeEach(() => {
11-
TestBed.configureTestingModule({});
1211
docsItems = TestBed.inject(DocumentationItems);
1312
});
1413

docs/src/app/shared/guide-items/guide-items.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ describe('GuideItems', () => {
55
let guideItems: GuideItems;
66

77
beforeEach(waitForAsync(() => {
8-
TestBed.configureTestingModule({});
98
guideItems = TestBed.inject(GuideItems);
109
}));
1110

src/aria/combobox/combobox.spec.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ describe('Combobox', () => {
5555
function setupCombobox(
5656
opts: {readonly?: boolean; filterMode?: 'manual' | 'auto-select' | 'highlight'} = {},
5757
) {
58-
TestBed.configureTestingModule({});
5958
fixture = TestBed.createComponent(ComboboxListboxExample);
6059
const testComponent = fixture.componentInstance;
6160

@@ -608,7 +607,6 @@ describe('Combobox', () => {
608607
function setupCombobox(
609608
opts: {readonly?: boolean; filterMode?: 'manual' | 'auto-select' | 'highlight'} = {},
610609
) {
611-
TestBed.configureTestingModule({});
612610
fixture = TestBed.createComponent(ComboboxTreeExample);
613611
const testComponent = fixture.componentInstance;
614612

src/aria/menu/menu.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,6 @@ describe('Menu Trigger Pattern', () => {
476476
};
477477

478478
function setupMenu() {
479-
TestBed.configureTestingModule({});
480479
fixture = TestBed.createComponent(MenuTriggerExample);
481480
fixture.detectChanges();
482481
getItem('Apple')?.focus();

0 commit comments

Comments
 (0)