The purpose of this article using typescript on our tests and how to setup test infrastructure for your Next.js + Typescript setup using ts-jest.

This is one of these post: explaining how to glue pieces together and humbly describes one task done. I recently joined a very excited project and my duty was setup a test suite for our Next.js app.

Before started getting my hands dirty I followed the Artem’s post (https://blog.sapegin.me/all/react-testing-2-jest-and-enzyme/) about…

Halil Kayer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store