You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to add the extension to a project (even an empty project with just one test), and I get the following error:
[Error: Couldn't load options using mocha: child process exited with code 9 and signal null
at ChildProcess.<anonymous> (/Users/dhowe/.vscode/extensions/hbenl.vscode-mocha-test-adapter-2.14.1/out/optsReader.js:89:32)
at Object.onceWrapper (node:events:646:26)
at ChildProcess.emit (node:events:526:28)
at maybeClose (node:internal/child_process:1092:16)
at Socket.<anonymous> (node:internal/child_process:451:11)
at Socket.emit (node:events:526:28)
at Pipe.<anonymous> (node:net:687:12)]
The text was updated successfully, but these errors were encountered:
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. (c:\Users\chuck.vscode\extensions\hbenl.vscode-mocha-test-adapter-2.14.1\out\core.js:121:51)
at ChildProcess.emit (node:events:519:28)
at ChildProcess._handle.onexit (node:internal/child_process:294:12)
`
Trying to add the extension to a project (even an empty project with just one test), and I get the following error:
The text was updated successfully, but these errors were encountered: