4 ms·
I don’t bother unit testing my front end - I’ve never found it to be worth the time
by klysm 4y ago
I don’t bother unit testing my front end - I’ve never found it to be worth the time
- dariusj18 4y agoWhen using typescript, unit testing needs are few and far between.
- n2d4 4y agoI get that. Testing components in particular is something I've rarely found to be worth it as well. But often I find myself writing logic in the frontend, say for processing data from the API. That's where I want to create a file and write a unit test because it would actually be easier. Sadly for a small project the effort of configuring and maintaining updates of an external test framework on-top of Next makes no sense.
- klysm 4y agoYeah sure if there are some pure functions involved then by all means unit test.