Function: getTransformIgnorePatterns()
getTransformIgnorePatterns(
_options?):string[]
Defined in: index.ts:10
Returns transformIgnorePatterns that allow Jest to transform all node_modules, including ESM-only packages (react-markdown, react-intl, etc. and their transitive deps). The pattern never matches any real pnpm path, so Jest transforms everything — the same approach used by @ttoss/components.
Pass esmModules for backwards-compat; the argument is ignored.
https://github.com/facebook/jest/issues/12984#issuecomment-1228392944
Parameters
| Parameter | Type |
|---|---|
_options? | { esmModules?: string[]; } |
_options.esmModules? | string[] |
Returns
string[]