Skip to content

Commit

Permalink
chore: Updated readme instructions for transformIgnorePatterns
Browse files Browse the repository at this point in the history
  • Loading branch information
pan-kot authored Jan 24, 2024
1 parent f339f33 commit 583b1da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ merge operation extends the ignore paths, you need to make sure that the modules

It means that Jest preset could not apply the configuration properly.

1. Check that you do not have `transformIgnorePatterns` in your custom configuration. If you do, it needs to **not ignore** the module paths defined in [jest-preset.js](./jest-preset.js).
1. Check that you do not have `transformIgnorePatterns` in your custom configuration. If you do, it requires a manual merge with configuration defined in [jest-preset.js](./jest-preset.js).
2. Check if you are overwriting `transform` property. It should merge the new paths in, not replace. Check the "Advanced usage" section above for an example.

## Contributing
Expand Down

0 comments on commit 583b1da

Please sign in to comment.