Speeding up Jest Typescript tests

Published

In you tsconfig.json, make sure you ignore test files, like:

{
  // ... rest of your tsconfig.json...
  "exclude": [
    "node_modules",
    "**/*.test.tsx?"
  ]
}

This will often drastically speed up your test runs.


Like this post?
Why don't you let me know on Twitter: @danawoodman