Yicong-Huang opened a new issue, #5195:
URL: https://github.com/apache/texera/issues/5195
### Task Summary
`joint-ui.service.spec.ts` keeps ten `it()` blocks commented out at the top
of the file (roughly lines 43–236), plus an `it.todo("add unit tests for
JointUIService")` placeholder at line 339. Five of the seven SUT methods those
commented tests call have since been removed from `JointUIService`
(`getJointOperatorStatusTooltipElement`, `changeOperatorStates` plural,
`changeOperatorTooltipInfo`, `showToolTip`, `hideTooltip`); two are still alive
(`getJointOperatorElement`, `changeOperatorState` singular). The SUT itself
currently runs at ~47 % line coverage (222 lines, 106 misses), so the spec is a
high-value cleanup target — drop the dead commented tests, adapt or replace the
two whose methods survived, and add coverage for the still-public surface
(`changeOperatorStatistics`, `foldOperatorDetails` / `unfoldOperatorDetails`,
`changeOperatorColor`, the `getMarkup` static helper, etc.).
### Task Type
- [x] Testing / QA
- [x] Refactor / Cleanup
--
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]