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
Can't share project (reproduce on empty project gives no success).
Output
2024-11-11 16:11:38.474 [info] Start test execution with env {"NODE_ENV":"test"}
2024-11-11 16:11:38.581 [debug] Syncing file {"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/PROJ/backend/node_modules/.mocha-vscode/fullJsonStreamReporter.js","path":"/home/muhammadyusuf-kurbonov/Projects/PROJ/backend/node_modules/.mocha-vscode/fullJsonStreamReporter.js","scheme":"file"}
2024-11-11 16:12:13.900 [error] Error: Test process exited with code null
at ChildProcess. (/home/muhammadyusuf-kurbonov/.vscode/extensions/coderline.mocha-vscode-1.2.4/out/extension.js:592:708)
at ChildProcess.emit (node:events:519:28)
at ChildProcess._handle.onexit (node:internal/child_process:294:12)
Interesting finding. Can you try debugging in VSCode standalone and see if the same thing happens?
start a "JavaScript Debug Terminal" in VS Code
enter the mocha test run command of your choice (or the same as you see in the output of the extension)
Might be a general VSCode problem when debugging these tests? Or maybe some sort of out-of-memory? Maybe you can obfuscate your real repo (similar structure, empty tests, randomized names) to get a reproducible example?
Checklist
Actual behavior
Run all test
Expected behavior
After some tests I get:
Minimal, Reproducible Example
Can't share project (reproduce on empty project gives no success).
Output
2024-11-11 16:11:38.474 [info] Start test execution with env {"NODE_ENV":"test"}
2024-11-11 16:11:38.581 [debug] Syncing file {"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/PROJ/backend/node_modules/.mocha-vscode/fullJsonStreamReporter.js","path":"/home/muhammadyusuf-kurbonov/Projects/PROJ/backend/node_modules/.mocha-vscode/fullJsonStreamReporter.js","scheme":"file"}
2024-11-11 16:12:13.900 [error] Error: Test process exited with code null
at ChildProcess. (/home/muhammadyusuf-kurbonov/.vscode/extensions/coderline.mocha-vscode-1.2.4/out/extension.js:592:708)
at ChildProcess.emit (node:events:519:28)
at ChildProcess._handle.onexit (node:internal/child_process:294:12)
Plugin Version Details
Name: Mocha for VS Code
Id: coderline.mocha-vscode
Description: Run and debug Mocha tests right within VS Code.
Version: 1.2.4
Publisher: CoderLine
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=coderline.mocha-vscode
VS Code Version Details
Version: 1.95.2
Commit: e8653663e8840adaf45af01eab5c627a5af81807
Date: 2024-11-07T11:07:22.054Z
Electron: 32.2.1
ElectronBuildId: 10427718
Chromium: 128.0.6613.186
Node.js: 20.18.0
V8: 12.8.374.38-electron.0
OS: Linux x64 6.11.6-300.fc41.x86_64
Further details
No response
The text was updated successfully, but these errors were encountered: