I have a #web-dev question. If I wanted to add some basic unit tests for some models in my project. It’s Next.js BTW, what is the best framework for that? Do I even need a framework?

Reply to this note

Please Login to reply.

Discussion

I’ve only ever used Jest for testing. It worked well enough. I know more elaborate frameworks exists for clicks and flows but basic model logic should be easily done with Jest. It’s pretty similar to some BE unit test frameworks.

Jest