Skip to content

Instantly share code, notes, and snippets.

@ng-the-engineer
Created January 17, 2021 16:44
Show Gist options
  • Save ng-the-engineer/f0a579f1d91ba911eab841420a596551 to your computer and use it in GitHub Desktop.
Save ng-the-engineer/f0a579f1d91ba911eab841420a596551 to your computer and use it in GitHub Desktop.
Code snippet: Jest test not defined
➜  jest-with-typescript git:(main) ✗ npx jest
No tests found, exiting with code 1
Run with `--passWithNoTests` to exit with code 0
In /Users/anthonyng/Repo/jest-with-typescript
  2 files checked.
  testMatch: **/__tests__/**/*.[jt]s?(x), **/?(*.)+(spec|test).[tj]s?(x) - 0 matches
  testPathIgnorePatterns: /node_modules/ - 2 matches
  testRegex:  - 0 matches
Pattern:  - 0 matches
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment