ngrx-testing
ngrx-testing copied to clipboard
transformIgnorePatterns in jest.config.js
Hi,
I used your blog post and this repo when trying to place jest in a ng new app
(v6). Following your instruction, my app did not work - and when comparing the source and config files between yours and mine, the only differences were somewhere around module: es5, commonjs - however - when I copied those into my app, it did not help.
My jest refused to work until I put:
transformIgnorePatterns: [
"node_modules/(?!@ngrx|angular2-ui-switch|ng-dynamic)"
],
into my jest.config.js
This is a piece of code I could not find in your repo. Would you mind shedding some light on me as per why my app actually needs it?