Closed indatawetrust closed 2 years ago
hi, in use case like below
"paths": { "@app-utils": ["src/utility.js"] }
such a config occurs;
{ '^@app-utils/(.*)$': '<rootDir>/src/utility.js/$1' }
this config is not working correctly for jest. it has to be like this for it to work correctly
{ '^@app-utils$': '<rootDir>/src/utility.js' }
fixes https://github.com/oklas/react-app-alias/pull/77
hi, in use case like below
such a config occurs;
this config is not working correctly for jest. it has to be like this for it to work correctly