cachaito
10/6/2019 - 9:27 PM

Jest tips

  1. fit instead it - alias for it.only(name, fn, timeout)
  2. to run single file in Jest: jest folderName/test.tsx
  3. if package.json has already "test": "jest" to run single test: npm run jest testName.js