mengw15 opened a new issue, #6516:
URL: https://github.com/apache/texera/issues/6516
### Task Summary
`frontend/src/app/workspace/component/dataset-selection-modal/dataset-selection-modal.component.ts`
(codecov ~11%, no spec) — Vitest spec (TestBed + `detectChanges()`). See
`frontend/TESTING.md`.
### Behavior to cover
- `should create`; `detectChanges()` renders
- `ngOnInit` initializes `selectedDataset` / `selectedVersion` /
`selectedPath` from the injected `data` (incl. `data.selectedPath`)
- dataset / version selection updates the corresponding state
- confirm returns the selected `{ dataset, version, path }`
### Task Type
- [ ] Refactor / Cleanup
- [ ] DevOps / Deployment / CI
- [x] Testing / QA
- [ ] Documentation
- [ ] Performance
- [ ] Other
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]