JS-1975 Implement private assertion layer for assertions-in-tests#7417
JS-1975 Implement private assertion layer for assertions-in-tests#7417francois-mora-sonarsource wants to merge 4 commits into
Conversation
Ruling Report✅ No changes to ruling expected issues in this PR |
Restore the RxJS-marble test case's closing backtick to column 0 and bring back the expectTypeOf comment, keeping the PR diff scoped to the private assertion layer. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Code Review ✅ Approved 2 resolved / 2 findingsImplements a private assertion layer for rule S2699 to isolate test-specific detection logic. This change resolves the inclusion of test-only placeholders and mutable registries in production code. ✅ 2 resolved✅ Quality: Test-only placeholder shipped in production rule path
✅ Quality: Test-only helper and mutable registry live in production module
OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar |




Summary
Validation