DEV Community

Discussion on: Testing UI - Next JS, Typescript, Jest and React Testing Library

Collapse
 
adrien profile image
Adrien Rahier

This is exactly what I needed thanks a lot Maciek for writing this comprehensive article!
One suggestion: use the tag #nextJS (the official one) and not #next which will help referencing your post even better.

Collapse
 
maciekgrzybek profile image
Maciek Grzybek

Glad you liked it and thank you :) I'll change the tag, didn't know about it :)

Collapse
 
adrien profile image
Adrien Rahier

Great :-)
Another question actually: looking at the files's naming I see that you prefix them with spec. I have seen several people just using test
=> So is this a personal convention or more like a best practice?

Thread Thread
 
maciekgrzybek profile image
Maciek Grzybek

Just a personal convention to be honest. We use this at my work, so I just got used to it :)

Thread Thread
 
adrien profile image
Adrien Rahier

Got it! Thanks for your reply :-)