codeant-ai-for-open-source[bot] commented on PR #37887:
URL: https://github.com/apache/superset/pull/37887#issuecomment-3883070358
## **Sequence Diagram**
The PR adds the jest/expect-expect ESLint rule to require explicit
assertions in Jest tests and updates tests (or adds disables) so the linter no
longer errors. Diagram shows the change to lint config, test updates, and how
CI/linter enforces the rule.
```mermaid
sequenceDiagram
participant Dev
participant Repo
participant Linter
participant CI
Dev->>Repo: Modify oxlint.json to add jest/expect-expect rule
Dev->>Repo: Edit tests to add explicit expect(...) assertions or add
rule disables
CI->>Linter: Run lint (includes jest/expect-expect)
Linter-->>CI: Reports errors if tests lack assertions
CI->>Repo: Pass (after tests updated)
```
---
*Generated by [CodeAnt AI](https://codeant.ai)*
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]