jest: failing commits on failing tests

2021-01-18

 | 

~2 min read

 | 

365 words

CI/CD pipelines are designed to ensure that no broken code reaches the main branch.However, running all of the tests and compiling a project…

jest: extending jest's assertion library

2021-01-17

 | 

~5 min read

 | 

815 words

Jest has a robust assertion library, but it’s also a general purpose tool. This can lead to some awkward tests, or imperative at least…

jest: handling static assets with mocks

2021-01-16

 | 

~2 min read

 | 

388 words

Update: A previous version of this post tried to resolve an absolute path for the mocks. This doesn’t work out of the box, so I’ve updated…

jest: how to configure jest for testing javascript applications

2021-01-16

 | 

~2 min read

 | 

259 words

A collection of posts on how to configure Jest to add various capabilities. Many of these posts are inspired by Kent C. Dodds’ Testing…

paul jarvis: bye

2021-01-06

 | 

~4 min read

 | 

620 words

Paul Jarvis, author of Company of One, wrote a Sunday Dispatch for years. It was an amazing newsletter. He recently shut it down and wiped…

Hi there and thanks for reading! My name's Stephen. I live in Chicago with my wife, Kate, and dog, Finn. Want more? See about and get in touch!