Testing is frequently seen as something tedious. It's extra code and in some cases, to be honest it's not needed. However, every developer should k...
For further actions, you may consider blocking this person and/or reporting abuse
Hi, really loved the article.
Just curious, inside 7th and 8th test files, you've not added
afterEach(cleanup), but I think it's a good practice to include it, right?Also in
TestRouter.js, the third<Route>'spath should be/contact:name?If anyone has trouble with the Attribute tests failing, the solution is to
import "@testing-library/jest-dom/extend-expect"
at the top of the test file. I had to do this even though I installed using the cloned repo, so it seemed a comment about it might help someone because this is a fantastic tutorial.
Thank you so much for all your awesome tutorials!
Thank you too for your efforts
Excellent article, good examples and detailed explanation.