Open benjamindotdev opened 5 days ago
Unit tests need to be written for every (yes, every) component on the front end.
Please use the following structure:
ComponentName (folder) -- ComponentName.tsx (component) -- ComponentName.test.tsx (test)
We are using a combination of Jest and React Testing Library, as advised by the Next.js documentation
https://nextjs.org/docs/app/building-your-application/testing
Unit tests need to be written for every (yes, every) component on the front end.
Please use the following structure:
ComponentName (folder) -- ComponentName.tsx (component) -- ComponentName.test.tsx (test)
We are using a combination of Jest and React Testing Library, as advised by the Next.js documentation
https://nextjs.org/docs/app/building-your-application/testing