Skip to content

Commit 5dcb837

Browse files
nabramovitznorman-abramovitz
authored andcommitted
Fix broken TestBed chaining in example-extensions specs (#5446)
Four demo-extension specs had a stray comma after configureTestingModule (`}),` then `.compileComponents()`), a pre-existing TS6.0 syntax error (TS1109) that surfaced once the toolchain stopped tolerating it. Drop the comma so the .compileComponents() call chains correctly. These specs are demo extensions: not in the production ng build nor the vitest test projects, so they did not block the gate — but they should still parse.
1 parent e4fe329 commit 5dcb837

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/frontend/packages/example-extensions/src/acme-login/acme-login.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ describe('AcmeLoginComponent', () => {
2424
RouterTestingModule,
2525
NoopAnimationsModule,
2626
]
27-
}),
27+
})
2828
.compileComponents();
2929
});
3030

src/frontend/packages/example-extensions/src/acme-support-info/acme-support-info.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ describe('AcmeSupportInfoComponent', () => {
1818
CoreModule,
1919
SharedModule,
2020
]
21-
}),
21+
})
2222
.compileComponents();
2323
});
2424

src/frontend/packages/example-extensions/src/app-action-extension/app-action-extension.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ describe('AppActionExtensionComponent', () => {
2222
SharedModule,
2323
createBasicStoreModule(),
2424
]
25-
}),
25+
})
2626
.compileComponents();
2727
});
2828

src/frontend/packages/example-extensions/src/app-tab-extension/app-tab-extension.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ describe('AppTabExtensionComponent', () => {
2222
SharedModule,
2323
createBasicStoreModule(),
2424
]
25-
}),
25+
})
2626
.compileComponents();
2727
});
2828

0 commit comments

Comments
 (0)