jest: how to watch specific projects with `jest-watch-select-projects`

2021-05-01

 | 

~2 min read

 | 

268 words

Similar to other Jest plugins (e.g., typeahead), is meant to help make testing faster and easier. In the case of , the ideas is that a code…

jest: abstract away utilities with moduledirectories

2021-05-01

 | 

~6 min read

 | 

1041 words

In many React applications, there’s an component that is wrapped by a number of providers - themes, redux, routing, etc. When it comes to…

jest snapshots: what are they, how to use them, and serializers

2021-05-01

 | 

~9 min read

 | 

1710 words

When it comes to testing UIs, there’s a lot to keep track of. Sometimes it can be helpful to just make sure that if a component changes, you…

jest: configuring jest to resolve modules

2021-04-30

 | 

~2 min read

 | 

394 words

A common pattern within Javascript applications is to use Webpack or Typescript to treat internal directories as modules so that they can be…

debugging jest: step through jest code with `--inspect-brk`

2021-04-29

 | 

~1 min read

 | 

195 words

In Debugging Node, I discussed how to use Node’s flag to debug a Node process. This is also really helpful for when we want to step through…

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!