mercredi 13 janvier 2021

Should unit tests be written in typescript?

My team is currently migrating from javascript to typescript. Should we migrate our unit tests from javascript to typescript as well?

My thinking is that there is not a huge benefit of having our unit tests in typescript, and that compiling our unit tests from typescript to javascript before they are run is a waste of time.

For context, we are using Jest and React Testing Library for a large React project.

Aucun commentaire:

Enregistrer un commentaire