Misc

Running only subsets of tests

Because I edited my package.json like this…

"scripts": {
    "test": "jest",
    "test:char": "jest --watchAll --testPathPattern=src/character-copier",
    "test:fizzbuzz": "jest --watchAll --testPathPattern=src/fizzbuzz"
  },

… I can run this in the terminal - npm run test:char - and it will watch my code and run tests in the background, but only for the specified folder.