Task Summary
Track the spec files still excluded in tsconfig.spec.json / angular.json that need their TestBed setups ported from the old NgModule (declarations: [...]) shape to the standalone-component (imports: [Standalone]) shape after #4873.
Each excluded entry needs its TestBed updated:
declarations: [Comp] → imports: [Comp] (since Comp is now standalone)
- Module imports the spec used to rely on (e.g.,
FormsModule, NzButtonModule) usually need to move into the standalone component's own imports: [] list, not the TestBed
- Spec-only providers / dependencies stay in TestBed's
providers: [...]
Status
Of the 48 specs originally captured here, all 48 have been resolved through the migration PRs (#4878, #4881, #4886, #4889, #4897, #4944, #4950).
Out of scope (tracked separately)
The following placeholder specs — files whose body is entirely commented out or only contains a license header — were never about TestBed shape; they need real test cases written against the current component/service. Each is now its own Task issue:
Out of scope (tracked under #4866)
workflow-editor.component.spec.ts is excluded for jointjs paper geometry reasons, not standalone migration. See #4866.
Definition of done
This issue can be closed once the placeholder-body issues above and #4866 are the only remaining items in the exclusion lists — which is the current state.
Task Type
Task Summary
Track the spec files still excluded in
tsconfig.spec.json/angular.jsonthat need their TestBed setups ported from the old NgModule (declarations: [...]) shape to the standalone-component (imports: [Standalone]) shape after #4873.Each excluded entry needs its TestBed updated:
declarations: [Comp]→imports: [Comp](sinceCompis now standalone)FormsModule,NzButtonModule) usually need to move into the standalone component's ownimports: []list, not the TestBedproviders: [...]Status
Of the 48 specs originally captured here, all 48 have been resolved through the migration PRs (#4878, #4881, #4886, #4889, #4897, #4944, #4950).
Out of scope (tracked separately)
The following placeholder specs — files whose body is entirely commented out or only contains a license header — were never about TestBed shape; they need real test cases written against the current component/service. Each is now its own Task issue:
PresetWrapperComponentUserConfigServiceSettingsComponentMenuComponentWorkspaceComponentPresetServiceOut of scope (tracked under #4866)
workflow-editor.component.spec.tsis excluded for jointjs paper geometry reasons, not standalone migration. See #4866.Definition of done
This issue can be closed once the placeholder-body issues above and #4866 are the only remaining items in the exclusion lists — which is the current state.
Task Type