Skip to content

add unit test coverage for UserDatasetVersionCreatorComponent #6508

Closed

Description

@mengw15

Task Summary

frontend/src/app/dashboard/component/user/user-dataset/user-dataset-explorer/user-dataset-version-creator/user-dataset-version-creator.component.ts (codecov ~3%, no spec) — Vitest spec (TestBed + detectChanges()), mocking the dataset service + modal ref. See frontend/TESTING.md.

Behavior to cover

  • should create; detectChanges() renders
  • form (FormGroup) validity — required fields gate submission
  • onClickCreate() -> creates the dataset version via the service on a valid form
  • onClickCancel() -> cancels / closes the modal

Task Type

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

Activity

  1. added theissue type on Jul 18, 2026
  2. self-assigned this
    on Jul 18, 2026
  3. added a commit that references this issue on Jul 18, 2026
    501bc13
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