Skip to content

Port the 48 still-excluded spec TestBed setups to standalone-component shape #4880

Closed
6 of 6 issues completed
Closed

Description

@Yicong-Huang

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 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

  • Refactor / Cleanup
  • DevOps / Deployment / CI
  • Testing / QA
  • Documentation
  • Performance
  • Other

Sub-issues

Sub-issues

6 of 6 Issues completed
Loading 6 sub-issues

Activity

  1. added theissue type on May 3, 2026
  2. self-assigned this
    on May 4, 2026
  3. Yicong-Huang commented on May 6, 2026

    @Yicong-Huang
    ContributorAuthor

    All 48 originally-captured specs are now off the exclusion list (last batch: #4944 + #4950). Placeholder-body specs are tracked individually as #4963–#4968; workflow-editor.component.spec.ts is tracked under #4866. Closing.

  4. Yicong-Huang commented on May 11, 2026

    @Yicong-Huang
    ContributorAuthor

    waiting for #4964

  5. Yicong-Huang commented on May 11, 2026

    @Yicong-Huang
    ContributorAuthor

    now completed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions