DEV Community

loading...

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

Collapse
maciekgrzybek profile image
Maciek Grzybek Author

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 Author

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 :-)