Skip to content

test: fix simple translation tests

cb77816
Select commit
Loading
Failed to load commit list.
Merged

feat: add translation building capability to Streami18n and useNotifications hook #2719

test: fix simple translation tests
cb77816
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 12, 2025 in 0s

81.28% (target 70.00%)

View this Pull Request on Codecov

81.28% (target 70.00%)

Details

Codecov Report

Attention: Patch coverage is 67.32026% with 50 lines in your changes missing coverage. Please review.

Project coverage is 81.28%. Comparing base (37264db) to head (cb77816).

Files with missing lines Patch % Lines
...anslationBuilder/notifications/attachmentUpload.ts 16.00% 15 Missing and 6 partials ⚠️
src/components/ChannelPreview/utils.tsx 37.50% 5 Missing ⚠️
src/i18n/TranslationBuilder/TranslationBuilder.ts 89.18% 0 Missing and 4 partials ⚠️
...ranslationBuilder/notifications/pollComposition.ts 33.33% 3 Missing and 1 partial ⚠️
.../components/MessageInput/WithDragAndDropUpload.tsx 0.00% 2 Missing ⚠️
...omponents/MessageList/MessageListNotifications.tsx 71.42% 1 Missing and 1 partial ⚠️
src/components/Attachment/AttachmentActions.tsx 0.00% 0 Missing and 1 partial ⚠️
.../components/Attachment/hooks/useAudioController.ts 0.00% 1 Missing ⚠️
src/components/Channel/Channel.tsx 0.00% 1 Missing ⚠️
src/components/Message/icons.tsx 0.00% 1 Missing ⚠️
... and 8 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2719      +/-   ##
==========================================
- Coverage   81.31%   81.28%   -0.03%     
==========================================
  Files         472      481       +9     
  Lines        9414     9524     +110     
  Branches     2197     2217      +20     
==========================================
+ Hits         7655     7742      +87     
- Misses       1397     1408      +11     
- Partials      362      374      +12     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.