Add unit Test cases for Channel.ts
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:
- PR title:
test: <Jira ticket> unit test forfilename``, ex.test: MM-59413 unit test for app/actions/remote/apps.ts - Indicate test coverage improvement, ex.
From 2% to 96% - Attached a screenshot of test coverage result.
- 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
Hello @mattermod I would like to work on this issue.
Hello @yasserfaraazkhan !
I would like to work on this issue.
This issue has been solved as shown in https://github.com/mattermost/mattermost-mobile/blob/main/app/actions/remote/channel.test.ts