mattermost icon indicating copy to clipboard operation
mattermost copied to clipboard

Add unit Test cases for Channel.ts

Open mattermod opened this issue 1 year ago • 1 comments

File: https://github.com/mattermost/mattermost-mobile/blob/main/app/actions/remote/channel.ts

Acceptance criteria:

  • Should pass in CI
  • Should have Coverage of 95%

When submitting a PR:

  1. PR title: test: <Jira ticket> unit test for filename``, ex. test: MM-59413 unit test for app/actions/remote/apps.ts
  2. Indicate test coverage improvement, ex. From 2% to 96%
  3. Attached a screenshot of test coverage result.
  4. If something can’t be tested, describe and explain for reference.

Need help or would like to get in touch?

Feel free to post a message, questions and or anything at https://community.mattermost.com/core/channels/native-mobile-apps and get in touch with us – Mattermost developers and community.


If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Developers" community channel.

New contributors please see our Developer's Guide.

JIRA: https://mattermost.atlassian.net/browse/MM-59415

mattermod avatar Jul 15 '24 13:07 mattermod

Hello @mattermod I would like to work on this issue.

Aryakoste avatar Jul 15 '24 19:07 Aryakoste

Hello @yasserfaraazkhan !

I would like to work on this issue.

naaa760 avatar Oct 23 '24 07:10 naaa760

This issue has been solved as shown in https://github.com/mattermost/mattermost-mobile/blob/main/app/actions/remote/channel.test.ts

hereje avatar Oct 10 '25 06:10 hereje