There are currently no pipelines.
To run a merge request pipeline, the jobs in the CI/CD configuration file must be configured to run in merge request pipelines.
Created by: gaearon
In 0.8.x, we switched to treat all non-JS/CSS extensions as files by default (#1059, #1077).
However when we tried to do the same in Jest, we made a mistake which introduced false positives (#1145 (closed), #1147 (closed)).
We temporarily reverted this change in #1149 and reopened https://github.com/facebookincubator/create-react-app/issues/667#issuecomment-264693934. @cpojer suggested to use transform
instead of moduleNameMapper
so that we can match against the full paths.
This PR implements that. I verified that the following cases work:
node_modules
(gives you `{})node_modules
(gives you the filename)../something
or lodash.assign
(covers #1145 (closed), #1147 (closed)).Fixes #667 (closed).
To run a merge request pipeline, the jobs in the CI/CD configuration file must be configured to run in merge request pipelines.