Skip to content
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
@kresli

Description

@kresli

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions