Skip to content

SonarCloud: test assertion quality (S5906) #528

Description

@don-petry

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

  • All findings in this workstream resolved to zero in SonarCloud
  • No behavior change; CI green
  • Real fixes (no blanket NOSONAR unless a confirmed false positive, noted inline)

Idempotent issue — updated automatically each audit run; auto-closed when the finding count reaches zero.

Metadata

Metadata

Assignees

No one assigned

    Labels

    dev-leadFor dev-lead agent pickuppriority:minorSonarCloud MINOR severitysonarcloud-auditSonarCloud audit finding (idempotent marker)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions