SonarCloud: test assertion quality (S5906)
1 open SonarCloud finding(s) in petry-projects/google-app-scripts, worst severity MINOR. Generated by the org SonarCloud Audit.
View in SonarCloud →
Findings
| Rule |
Count |
Representative message |
| javascript:S5906 |
1 |
Prefer "expect(processed).toHaveLength(BATCH_SIZE)" over this generic assertion for better |
Affected files
src/gmail-ai-classifier/tests/performance-scalability.test.js (1)
Priority
Labeled priority:minor — mapped from this bucket's worst SonarCloud severity (MINOR).
Acceptance
Idempotent issue — updated automatically each audit run; auto-closed when the finding count reaches zero.
SonarCloud: test assertion quality (S5906)
1 open SonarCloud finding(s) in
petry-projects/google-app-scripts, worst severity MINOR. Generated by the org SonarCloud Audit.View in SonarCloud →
Findings
Affected files
src/gmail-ai-classifier/tests/performance-scalability.test.js(1)Priority
Labeled
priority:minor— mapped from this bucket's worst SonarCloud severity (MINOR).Acceptance
NOSONARunless a confirmed false positive, noted inline)Idempotent issue — updated automatically each audit run; auto-closed when the finding count reaches zero.