mengw15 opened a new issue, #6428: URL: https://github.com/apache/texera/issues/6428
### Task Summary `frontend/src/app/workspace/component/markdown-description/markdown-description.component.ts` (codecov ~46%, no spec) — add a behavior-focused Vitest spec (TestBed + `detectChanges()`). See `frontend/TESTING.md`. ### Behavior to cover - `should create`; `fixture.detectChanges()` renders the template - @Input `description` / `editable` / `enableViewMore` bind - `ngOnInit`: when `modalData` is present -> `editable = true` and `currentMode = "edit"`; otherwise `currentMode = "preview"`; `editingContent` initialized from `description` - `ngOnChanges`: refreshes `editingContent` from `description` (respecting the edit-mode guard) - @Output `descriptionChange` emits on save ### 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]
