Re:How porting to TypeScript solved our API woes
by simplify on Wednesday April 08, 2020 @05:38PM
(#22817461)
Would you say the same about incomplete testing?
[ Parent
| on HN ]
Re:How porting to TypeScript solved our API woes
by gregkerzhner on Wednesday April 08, 2020 @06:10PM
(#22817757)
no - proper unit testing mocks dependencies, so untested dependencies shouldn't affect tests. However, if there are typing issues in your dependencies, even the code that strongly typed can crash as a result if it uses those dependencies.