4 ms·
Our tests are pretty useful, they check things like "when you ask the API to submit a pickup, it gets assigned to a driver", and so on. Especially in JavaScript
by kevinburke 10y ago
Our tests are pretty useful, they check things like "when you ask the API to submit a pickup, it gets assigned to a driver", and so on. Especially in JavaScript where anything can take any value they've been extremely helpful.
- mattmanser 10y agoThat's another argument I've never understood. I've been working on applications with javascript for over 10 years. Not once can I remember a javascript bug where someone passed a value as the wrong argument and it made it into production. Maybe it has happened, but it's just not a common bug. I just don't remember it. Like, you can easily write it as a mistake as you're developing but it's obvious as soon as you run it. But if that bug gets in production your dev didn't even bother to run the code to see if it worked as intended.