-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warnings box the show "(frontend) Failed to obtain test file list, something might not be setup right?" for each of the folders of the workspace #695
Comments
@bodote sorry about this issue, a few questions to help us diagnose:
|
the warning comes for each folder I DON'T want to run jest, even if it has a .vscode/settings.json the says :
AH! that works! thank you!
yes, and I did not work with previous versions |
yeah the Therefore, if you simply do not plan to run any test in the given folder, the If this resolved your issue, feel free to close it. |
Environment
vscode-jest version
: [4.0.0]node -v
: [v15.14.0]npm -v
oryarn --version
: [7.7.6]npm ls jest
ornpm ls react-scripts
:ng test --runInBand --
]Prerequisite
npm run test
ornode_modules/.bin/jest
) [ng test
]Steps to Reproduce
create 2 folders , one with and one without a angular/jest project
open one folder, add the other one to the workspace , save the workspace in vscode with "file->save workspace"
close the workspace and open the same workspace again.
Relevant Debug Info
brew install watchman
because of Error: Error watching file for changes: EMFILE #76.vscode/settings.json:
{
"jest.autoRun": "off"
}
because otherwise I would get even another error message on vscode start or opening workspace :
"(vscode-test2) Jest process "watch-tests" failed unexpectedly"
Expected Behavior
not showing all the Warning boxes that say "(frontend) Failed to obtain test file list, something might not be setup right?" for each of the folders of the workspace
Actual Behavior
showing one the Warnings box the show "(frontend) Failed to obtain test file list, something might not be setup right?" for each of the folders of the workspace
The fastest (and the most fun) way to resolve the issue is to submit a pull-request yourself. If you are interested, feel free to check out the contribution guide, we look forward to seeing your PR...
The text was updated successfully, but these errors were encountered: