We can use this issue to divide up some work. I'll add a checklist below with what needs to be done and who it's assigned to. Please comment (or edit yourself in) if you'd like to take on a test!
For newcomers:
I'll start slow :) Could you give me ImageZoom and CommentListItem? 💃
~I can grab userProfile and RepositoryProfile.~ Already edited the list!
I'd like to implement tests for <GithubHtmlView /> but I'm not sure how to implement them with Enzyme. (I'm fairly new to testing :relaxed:)
This component does two things:
<HTMLView />Should I stick to only testing the first part, or should the output result of
What would be the best way to test the HTML transformation (1.) without relying on jest snapshots?
Yea, I'd stick to the first part (we should really only be testing one component per test, and involving <HTMLView /> in any way gets a little iffy). For testing the transformations, how about adding a couple data files to a __tests__/data/html directory along with their corresponding expected result. Feed the input HTML from the data files into <GithubHtmlView /> and compare the output with the expected output from the result file.
I'll take InlineLabel and perhaps a reducer
Thank so much @jglover!!
I'll take Color Helpers, Text Helper in Utilities
Oppps. I haven't noticed that @ibotdotout decided to do tests for color helpers :(
Tackled notifications reducer tests, see #567
I want to take "SearchBar – Android" and "SearchBar – iOS"
@dyesseyumba <3
I'll take "SectionList" please. Thanks
If this effort is still ongoing, I can take NotificationIcon and RepositorySectionTitle. :)
@ZahraTee oh yes it is! We're at ~40% coverage for now, which is better than nothing, but still low.
Assigned both tests to you, let us know if you need any help at all with your PR!
Thank you 🙏
I'd like to write tests for utils/migration-helper.js
I'd like to test the following:
I'd like to test the following:
@MarioArnt fine, but please a separate PR for each component.
I would like to pick up tests for the reducers:
Hi, I'd like to test the ViewContainer component
@lucaslago fine, good luck!
Thank you @lucaslago, appreciate it 🙏🏾
Hi, I'd like to test the IssueDescription component
@mmendesas go for it
Can I take IssueListItem?
Most helpful comment
I'll start slow :) Could you give me ImageZoom and CommentListItem? 💃