Skip to content

Add unit tests for PresetService #4968

Closed

Description

@Yicong-Huang

Task Summary

frontend/src/app/workspace/service/preset/preset.service.spec.ts exists but its body is currently a placeholder. Loads, saves, and applies operator-property presets. The spec body is currently entirely commented out. Add real test cases against the current component/service shape.

Follow-up to the Vitest migration umbrella #4861; placeholder specs were intentionally left out of #4880's scope so #4880 can track real spec migrations and these can be sized individually.

Task Type

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

Activity

  1. added theissue type on May 6, 2026
  2. Ma77Ball commented on May 7, 2026

    @Ma77Ball
    Contributor

    @Yicong-Huang should this issue be closed?

  3. Yicong-Huang commented on May 7, 2026

    @Yicong-Huang
    ContributorAuthor

    I don't think it's done?

  4. Ma77Ball commented on May 8, 2026

    @Ma77Ball
    Contributor

    /take

  5. added a commit that references this issue on May 9, 2026
    7f7bba8
  6. added a commit that references this issue on Jun 22, 2026
    f21bff2
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