Open dhowe opened 2 years ago
I get the same thing. Have have not seen a working sample of this adapter. Mocha runs fine from CLI: npm test
But when hit the "Refresh Tests" it shows "Test discovery failed" and opens this: ` The worker process finished with code 1 and signal null
Stacktrace:
at x.syncTopLevel (c:\Users\chuck.vscode\extensions\ms-vscode.test-adapter-converter-0.2.0\out\extension.js:5:3)
at gh.value (c:\Users\chuck.vscode\extensions\ms-vscode.test-adapter-converter-0.2.0\out\extension.js:2:4519)
at T.B (file:///c:/Users/chuck/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:29:732)
at T.fire (file:///c:/Users/chuck/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:29:950)
at gh.value (c:\Users\chuck.vscode\extensions\hbenl.vscode-test-explorer-2.22.1\out\hub\testHub.js:53:43)
at T.B (file:///c:/Users/chuck/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:29:732)
at T.fire (file:///c:/Users/chuck/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:29:950)
at ChildProcess.
Trying to add the extension to a project (even an empty project with just one test), and I get the following error: