reading notes on "design patterns: elements of reusable object-oriented software"

2021-06-01

 | 

~5 min read

 | 

901 words

I’m actively reading the Gang of Four (aka Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides’s Design Patterns: Elements of…

jest: setting up coverage reports

2021-05-31

 | 

~4 min read

 | 

607 words

When it comes to testing your application, it’s often useful to know how much of your code is covered in one way or another by tests…

jest: watch mode

2021-05-31

 | 

~2 min read

 | 

397 words

To run Jest in watch mode, pass the option: By default, Jest will run tests against all changed files since the last commit, but watch mode…

the pit of success

2021-05-31

 | 

~2 min read

 | 

265 words

I was reading a blog post recently when the author used the phrase, “the pit of success”. While I could deduce the intent, I was curious…

mocking redux with react-testing-library

2021-05-28

 | 

~3 min read

 | 

549 words

In a previous post about abstracting utilities in Jest, I demonstrated how to create a wrapper for the method of the React Testing Library…

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!