ผมได้ยินคำว่า clean architecture หลายครั้ง ตัวผมเองไม่เคยศึกษามันจริงจัง แต่พอมีโอกาสได้ทำงานกับระบบที่ใช้ clean architecture…
เริ่มจาก install jest กันก่อนเลยค่ะ
yarn add jest @types/jest
ถ้าพูดถึงคุณสมบัติของ unit test ที่ดี มันจะมีชุดของคุณสมบัติหนึ่งที่เรียกว่า F.I.R.S.T Principles…