Last week, I started working on a new NextJS application. After getting my application setup and deployed to vercel (which is amazing), I wanted to write some tests. The first thing I did was check the NextJS documentation and looked for instructions on how to get started with testing.

Image for post

Searching for “testing” in the NextJS documentation

After trying and failing to find anything in their documentation, I resigned myself to figuring it out myself. So I created a new NextJS project using create-next-app, and got started.

#testing #react #javascript #nextjs #programming

Setting Up Testing Library with NextJS
69.90 GEEK