Configuration contains string/RegExp pattern, but no filename was passed to Babel #11035
Labels
area: third party
i: bug
outdated
A closed issue/PR that is archived due to age. Recommended to make a new issue
Bug Report
Current Behavior
The project uses typescript as a type checker not as transpiler.
I have working babel config (project runs correctly), but when I try to run jest test - it fails with the error:
Error Code
Expected behavior/code
Expected tests to be run
Babel Configuration (babel.config.js, .babelrc, package.json#babel, cli command, .eslintrc)
babel.config.json
jest.config.js
tscconfig.json
Environment
Additional context/Screenshots
I started to suspect that the problem was in the
env
block inbabel.config.js
- so I have removed it, but got another strange error:adding to
jest.config
also produces the above error
The text was updated successfully, but these errors were encountered: