getsentry / getsentry/sentry-javascript
AI integration tests don't assert absence of PII when sendDefaultPii is false
Ouverte
good first issue
javascript
Tests
- Langage dominant
- TypeScript
- Étoiles
- 8.7k
- Forks
- 1.8k
- Merge moyen
- 1 j 17 h
- PR mergées (30 j)
- 515
Description
All AI provider integration tests use `expect.objectContaining()` to verify span data when `sendDefaultPii: false`. The PII attributes are simply omitted from the expected object rather than explicitly asserted as absent. This means a regression that leaks PII attributes onto spans when `sendDefaultPii` is disabled would pass all existing tests.
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.