The 4 steps are what I think are what are needed in learning TDD. In the previous test, I actually omitted some important setups. This example app uses "pseudo" API to call data. So it runs perfectly on testing environment.

10m read timeFrom yozibak.com
Post cover image
Table of contents
What is TDD? Why is it Recommended?How to develop in TDDBasics of JestBasics of React Testing LibraryBasics of TDDThink in TDD wayConclusion

Sort: