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/patch succeeded Jun 12, 2025 in 1s

67.32% of diff hit (target 10.00%)

View this Pull Request on Codecov

67.32% of diff hit (target 10.00%)

Annotations

Check warning on line 128 in src/components/Attachment/hooks/useAudioController.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/components/Attachment/hooks/useAudioController.ts#L128

Added line #L128 was not covered by tests

Check warning on line 400 in src/components/Channel/Channel.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/components/Channel/Channel.tsx#L400

Added line #L400 was not covered by tests

Check warning on line 54 in src/components/ChannelPreview/utils.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/components/ChannelPreview/utils.tsx#L54

Added line #L54 was not covered by tests

Check warning on line 66 in src/components/ChannelPreview/utils.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/components/ChannelPreview/utils.tsx#L66

Added line #L66 was not covered by tests

Check warning on line 91 in src/components/ChannelPreview/utils.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/components/ChannelPreview/utils.tsx#L91

Added line #L91 was not covered by tests

Check warning on line 18 in src/components/MessageList/MessageListNotifications.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/components/MessageList/MessageListNotifications.tsx#L18

Added line #L18 was not covered by tests

Check warning on line 46 in src/components/Poll/PollActions/SuggestPollOptionForm.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/components/Poll/PollActions/SuggestPollOptionForm.tsx#L46

Added line #L46 was not covered by tests

Check warning on line 7 in src/i18n/TranslationBuilder/notifications/attachmentUpload.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/i18n/TranslationBuilder/notifications/attachmentUpload.ts#L7

Added line #L7 was not covered by tests

Check warning on line 11 in src/i18n/TranslationBuilder/notifications/attachmentUpload.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/i18n/TranslationBuilder/notifications/attachmentUpload.ts#L10-L11

Added lines #L10 - L11 were not covered by tests

Check warning on line 15 in src/i18n/TranslationBuilder/notifications/attachmentUpload.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/i18n/TranslationBuilder/notifications/attachmentUpload.ts#L14-L15

Added lines #L14 - L15 were not covered by tests

Check warning on line 18 in src/i18n/TranslationBuilder/notifications/attachmentUpload.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/i18n/TranslationBuilder/notifications/attachmentUpload.ts#L17-L18

Added lines #L17 - L18 were not covered by tests

Check warning on line 24 in src/i18n/TranslationBuilder/notifications/attachmentUpload.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/i18n/TranslationBuilder/notifications/attachmentUpload.ts#L24

Added line #L24 was not covered by tests

Check warning on line 29 in src/i18n/TranslationBuilder/notifications/attachmentUpload.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/i18n/TranslationBuilder/notifications/attachmentUpload.ts#L28-L29

Added lines #L28 - L29 were not covered by tests

Check warning on line 31 in src/i18n/TranslationBuilder/notifications/attachmentUpload.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/i18n/TranslationBuilder/notifications/attachmentUpload.ts#L31

Added line #L31 was not covered by tests

Check warning on line 34 in src/i18n/TranslationBuilder/notifications/attachmentUpload.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/i18n/TranslationBuilder/notifications/attachmentUpload.ts#L33-L34

Added lines #L33 - L34 were not covered by tests

Check warning on line 37 in src/i18n/TranslationBuilder/notifications/attachmentUpload.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/i18n/TranslationBuilder/notifications/attachmentUpload.ts#L37

Added line #L37 was not covered by tests

Check warning on line 11 in src/i18n/TranslationBuilder/notifications/pollComposition.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/i18n/TranslationBuilder/notifications/pollComposition.ts#L11

Added line #L11 was not covered by tests

Check warning on line 15 in src/i18n/TranslationBuilder/notifications/pollComposition.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/i18n/TranslationBuilder/notifications/pollComposition.ts#L15

Added line #L15 was not covered by tests