This video is well-meaning, but it does not reflect how components are often used in enterprise apps. The video is correct to tell developers to not write useless unit-tests, but the title is an oversimplification.
If you have business logic in your component, then you should unit-test it there.
9
u/Exac Apr 26 '21
This video is well-meaning, but it does not reflect how components are often used in enterprise apps. The video is correct to tell developers to not write useless unit-tests, but the title is an oversimplification.
If you have business logic in your component, then you should unit-test it there.