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>'s path should be /contact:name?
<Routepath="/contact:name"component={Contact}/>
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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>'s
path should be/contact:name
?