Full Stack Radio cover image

144: Gary Bernhardt - TypeScript and Testing

Full Stack Radio

00:00

Then, You're Not Going to Get That Out of a Test.

Tests are not going to tell you that the six different places in your system that did a switch statement on the type of user need to have another branch. Ther's just, you're never going to get that out of a test. I's it's impossible. And so if the possibility claims of module a no longer line up with b typer that, whatd you say o that? Like, again, i don't think this is probably true every single time, but a lot of the time like that, that’s really just a signal to you  that you have to decide how best to handle those cases.

Play episode from 01:08:55
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app