Top Stories published by Expected Behavior Blog in 2019

Testing Promises Indirectly with Jest

By Tony Dewan

I recently ran into difficulty creating obvious and readable tests for React components that indirectly rely on promises. I ended up with a handy workaround that allows both native asynchronous and test-friendly synchronous…


How We Write Commit Messages

By Tony Dewan and Jason Gladish

Why Commit Messages Matter

If you’ve worked on a codebase of any age or with many collaborators, you’ve surely had the question: “why is this code this way?”


How to use Dynamic Custom Text in Google Ads (nee Google AdWords)

By James Paden

As a long-time Google Ad(word)s user, I’ve always dreamed of adding custom ad text based on the search keyword. It turns out that functionality has existed for years, I just…

About
Expected Behavior Blog
We're a team of friends who build awesome software together. We run Instrumental, a super duper high-scale server and application monitoring tool, and DocRaptor, an HTML-to-PDF conversion API. This blog is just random things we've learned along the way.
More information
Tags
Editors