Created
December 3, 2021 12:03
-
-
Save noce2/755b24c34d9b7ee8452bef67ece70d74 to your computer and use it in GitHub Desktop.
Orta Jest Extension VsCode Setup with NVM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"configurations": [ | |
{ | |
"type": "node", | |
"name": "vscode-jest-tests", | |
"request": "launch", | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen", | |
"disableOptimisticBPs": true, | |
"program": "~/.nvm/versions/node/v12.22.6/bin/yarn", | |
"cwd": "${workspaceFolder}", | |
"args": [ | |
"test", | |
"--", | |
"--runInBand", | |
"--watchAll=false" | |
], | |
"runtimeVersion": "12.22.6" | |
} | |
] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"jest.jestCommandLine": ". ~/.nvm/nvm.sh && nvm use 12 && yarn test --", | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment