One of these days, I got myself thinking about the magic inside jest (our beloved JavaScript testing framework)…