getsentry / getsentry/sentry-javascript
AI integration tests don't assert absence of PII when sendDefaultPii is false
Đang mở
good first issue
javascript
Tests
- Ngôn ngữ chính
- TypeScript
- Star
- 8.7k
- Fork
- 1.8k
- Merge trung bình
- 1 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 515
Mô tả
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.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.