You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow Jest tests to be run from within the node_modules folder.
Motivation
Jest provides a rich testing and reporting framework, and has proven useful as the basis for other applications providing generic test suites to be run against other projects. In these cases the applications are installed under node_modules, so all applicable application tests files are there as well.
Workaround (and its removal)
There have been numerous previous issues written on various flavors of this (#7145, #1995, and many others). The workaround presented in most (if not all) cases is using:
...which does work. But, PR #8535 includes the removal of providesModuleNodeModules, which would indicate this workaround may no longer be viable once incorporated.
The text was updated successfully, but these errors were encountered:
This issue was closed because it has been stalled for 7 days with no activity. Please open a new issue if the issue is still relevant, linking to this one.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.
🚀 Feature Proposal
Allow Jest tests to be run from within the node_modules folder.
Motivation
Jest provides a rich testing and reporting framework, and has proven useful as the basis for other applications providing generic test suites to be run against other projects. In these cases the applications are installed under node_modules, so all applicable application tests files are there as well.
Workaround (and its removal)
There have been numerous previous issues written on various flavors of this (#7145, #1995, and many others). The workaround presented in most (if not all) cases is using:
...which does work. But, PR #8535 includes the removal of
providesModuleNodeModules
, which would indicate this workaround may no longer be viable once incorporated.The text was updated successfully, but these errors were encountered: