A common automated testing mistake in TypeScript: Not specifying the...
A common automated testing mistake in TypeScript:
Not specifying the expected result's type.
Types are useful in tests too. For all the same reasons types are useful in prod code.
Types clarify intent, catch errors sooner, and improve autocomplete support. 👍
#typescript

