Since you already included jest, you should probably also include testing-library, which is a library that will help you write user-centric unit tests with ease. It also has some useful facilities to test components and hooks.
A Senior Frontend Developer with over 8 years of integrating frontend solutions for enterprise-scale e-commerce projects based on SAP CX (Hybris) both B2C & B2B.
A Senior Frontend Developer with over 8 years of integrating frontend solutions for enterprise-scale e-commerce projects based on SAP CX (Hybris) both B2C & B2B.
Since you already included jest, you should probably also include testing-library, which is a library that will help you write user-centric unit tests with ease. It also has some useful facilities to test components and hooks.
Did you mean as an another question?
Either that or part of the answer.
I have now modified before the last one question. Let me know if it make sense to you.
That's good, putting it into context.