register
register copied to clipboard
0.1.8 not working very well with yarn workspaces
After upgrading from 0.1.7 to 0.1.8 tests in our project stopped working. On further inspection I noticed that this was due to change in how ignoring node_modules is implemented.
For context - I ran tests for a workspace which is in a subdirectory, but that depends on test utils on parent directory. By default only includes just the contents of workspace subdirectory. I changed that and then hit a problem of ignore not ignoring the parent node_modules since it's set to a strict subdirectory_path.../node_modules.
I'm wondering if at the very least default ignore should be changed to a more relaxed regexp ("^node_modules")