Add Unit Tests for AboutScreen #296
Labels
feature
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Terms
Description
Add unit tests to verify the functionality of the utility functions and logic used in the
AboutScreen
.The following things has to be done in this issue:
Test Utility Functions:
AboutUtil.getCommunityList
with mockcontext
and click handlers.AboutUtil.getFeedbackAndSupportList
for correct item generation.AboutUtil.getLegalListItems
produces the expected legal items.Test Click Handlers:
AboutUtil.onShareScribeClick
AboutUtil.onRateScribeClick
AboutUtil.onMailClick
Test Hint Reset Logic:
HintUtils.resetHints
is invoked and state updates as expected.Contribution
Happy to help anyone solve this issue or take this up myself at some point :)
The text was updated successfully, but these errors were encountered: