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
Extension does not work with nushell
on macOS
#1067
Comments
looks like the extension encountered some shell env issues so it is trying to fall back to a login shell (hoping to resolve the env initialization errors.). There are a list of common shells the extension could auto-fallback to login-shell, but To make a long story short, if this only happens occasionally, you can try to restart vscode or start vscode from a macOS terminal. If it happens often and you don't mind using login shell for running jest, you can try to set your shell to login shell: for example, if "jest.shell": {
"path": "/opt/homebrew/bin/nu"
"args": ["--login"],
} Let me know if that works. |
Environment
vscode-jest version
: v5.2.3node -v
: v18.17.1npm -v
oryarn --version
: 9.6.7npm ls jest
ornpm ls react-scripts
(if you haven’t ejected):Prerequisite
npm run test
ornode_modules/.bin/jest
)npm run test
ornpx jest
Steps to Reproduce
Install nushell and configure Jest to use it
Relevant Debug Info
The text was updated successfully, but these errors were encountered: