This repository was archived by the owner on Jan 26, 2019. It is now read-only.
This repository was archived by the owner on Jan 26, 2019. It is now read-only.
jest is ignoring JS and JSX files. #230
Closed
Description
This is more a question then a bug report.
Any ".js" or ".jsx" are ignored by tests, however those are acceptable on dev or prod environment. Is this by design or it is a bug?
createJestConfig.js
example: rename App.test.tsx
to App.test.jsx
compile error:
No tests found
In /Documents/create-react-app-typescript
12 files checked.
testMatch: /Documents/create-react-app-typescript/src/**/__tests__/**/*.ts?(x),/Documents/create-react-app-typescript/src/**/?(*.)(spec|test).ts?(x) - 0 matches
testPathIgnorePatterns: /node_modules/ - 12 matches
Pattern: "" - 0 matches
Thanks
Metadata
Metadata
Assignees
Labels
No labels