We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Code Review Feedback
Code Review Feedback
Sort by
recency
|
77 Discussions
|
Please Login in order to post a comment
I dont see clean up in the test file that ensures that after every test, React Testing Library completely unmounts the component and resets all internal hook states — so each test starts fresh.
`Any suggestions?
Hint: you can create a component and use 2 props (one for the title and one for the index). The index is important for the tests, not for the component to work.
Before you begin any of these coding tests, you must read the test file to see how they test it. They are not testing functionality sometimes, your failing test might just be an improper test-id that has to be dynamically set.
so many visible bugs in the hackerrank platform i dont even have to point out any
My new component: