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
|
79 Discussions
|
Please Login in order to post a comment
I have working code for this problem i am able to check required functionality, but its giving 0 score via run tests
my test cases are failing! although the solution works fine
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.