Description
Environment
-
node -v
: 9.11.1 -
npm -v
: 5.8 -
npm ls react-scripts
(if you haven’t ejected): empty -
Operating system: MacOS High Sierra 10.13.4
Steps to Reproduce
https://github.com/Unibeautify/vscode
You'll see that there is custom code in the test
directory, found from https://github.com/strothj/vscode-gist-manager, that creates a jest runner that will run the tests. This is needed since we need the extension running for those tests to be done, so VSCode cannot be mocked.
npm run test
and debugging tests, except placing breakpoints in the tests themselves, work without a problem. However the runner from the vscode-jest extension says: `Test suite failed to run Cannot find module 'vscode'. Specifically here: https://github.com/Unibeautify/vscode/blob/master/test/jest-vscode-environment.ts.
So I'm not sure if there is an issue with the extension not connecting with the /test/
runners or what.
Expected Behavior
There should not be a failing test under the Problems pane
Actual Behavior
There is a failing test under the problems pane
Note we are looking for someone to take responsibility around keeping create-react-app up to date and working, could this be you?