Open madelineliao opened 5 years ago
@madelineliao Does \out\test\suite\index.js
exist on your disk? Also does it make a difference if you change this line in launch.json
:
"--extensionTestsPath=${workspaceFolder}/out/test/suite/index"
to
"--extensionTestsPath=${workspaceFolder}/out/test/suite"
or
"--extensionTestsPath=${workspaceFolder}/out/test/suite/index.js"
Running
npm run test
from the command line runs the sample test suite, which passes successfully, although I do get the following warning:However, when I try to run tests from the debugger view in VSCode, I get the following error in the debug console:
Not sure if this has to do with the new
vscode-test
api?