Closed
Description
I created a src/node_modules
directory so I can have shared
code I re-use throughout my project.
So rather than doing
import MyComponent from '../../../../shared/MyComponent';
I could write
import MyComponent from 'shared/MyComponent';
This works great, except when I add a test MyComponent.test.js
. It isn't "seen" by Jest.
Not sure if this is a supported use case, it might just be a nice-to-have.