Even as a TypeScript obsessive and advocate, I have to admit it does nothing to replace 99% of your tests.
I want the TypeScript hype to burn brighter than ever, it should definitely be the only/default way to write JavaScript by hand, but please test your code.
You should aim for full coverage of module entry points by integration tests.
You should aim for a separate full coverage of implementation by unit tests.
Use Stryker.
Cast to any to shove invalid data into the module at the boundary.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Even as a TypeScript obsessive and advocate, I have to admit it does nothing to replace 99% of your tests.
I want the TypeScript hype to burn brighter than ever, it should definitely be the only/default way to write JavaScript by hand, but please test your code.
You should aim for full coverage of module entry points by integration tests.
You should aim for a separate full coverage of implementation by unit tests.
Use Stryker.
Cast to
any
to shove invalid data into the module at the boundary.