CoderLine / mocha-vscode

A Mocha test runner extension for VS Code
https://marketplace.visualstudio.com/items?itemName=coderline.mocha-vscode
MIT License
8 stars 2 forks source link

[Bug]: Pending tests are not shown in Tests list #161

Open muhammadyusuf-kurbonov opened 1 month ago

muhammadyusuf-kurbonov commented 1 month ago

Checklist

Actual behavior

According the documentation of Mocha: https://mochajs.org/#pending-tests We can make "todo"-test. It is test without body:

it('pending test...')

Now the extension doesn't count/list pending tests.

Expected behavior

List these tests, but they are always marked as skipped

Minimal, Reproducible Example

https://github.com/muhammadyusuf-kurbonov/mocha-forVSCode-bug-example

Output

2024-10-08 22:55:34.408 [info] Mocha Test Runner Started (id: coderline.mocha-vscode, version 1.2.0) {"version":"1.1.0-preview+FFFFFFF","date":"2024-04-02T14:30:00Z"} 2024-10-08 22:55:34.408 [debug] Installing ESBuild binary 2024-10-08 22:55:34.408 [debug] Resolving Node.js executable 2024-10-08 22:55:34.408 [debug] Found Node.js in PATH at '/home/muhammadyusuf-kurbonov/.nvm/versions/node/v22.4.0/bin/node' 2024-10-08 22:55:38.851 [debug] Installing ESBuild binary exited with code 0 2024-10-08 22:55:38.852 [debug] Syncing workspace folders 0 2024-10-08 22:55:38.852 [debug] New workspace folder {"uri":{"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example","external":"file:///home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example","scheme":"file"},"name":"mocha-forVSCode-bug-example","index":0} 2024-10-08 22:55:39.320 [debug] Checking workspace folder for config files {"uri":{"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example","external":"file:///home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example","scheme":"file"},"name":"mocha-forVSCode-bug-example","index":0} 2024-10-08 22:55:39.320 [debug] Added new controller via config file file:///home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/.mocharc.yml 2024-10-08 22:55:39.320 [info] New Test Controller for workspace folder and config /home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example /home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/.mocharc.yml 2024-10-08 22:55:39.320 [debug] resolving 'mocha/lib/cli/options' via /home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example 2024-10-08 22:55:39.321 [debug] Creating new resolver for resolving Mocha 2024-10-08 22:55:40.286 [debug] 'mocha/lib/cli/options' resolved to '/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/mocha/lib/cli/options.js' 2024-10-08 22:55:40.337 [debug] resolving 'mocha/lib/cli/config' via /home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example 2024-10-08 22:55:40.356 [debug] 'mocha/lib/cli/config' resolved to '/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/mocha/lib/cli/config.js' 2024-10-08 22:55:40.367 [debug] Reading mocharc, changing working directory to /home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example 2024-10-08 22:55:40.367 [debug] Loaded mocharc via Mocha 2024-10-08 22:55:40.367 [debug] Reading mocharc, changing working directory back to /home/muhammadyusuf-kurbonov 2024-10-08 22:55:40.367 [debug] Loaded mocharc via '/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/.mocharc.yml', with patterns [{"glob":true,"value":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test//*.test.js","workspaceFolderRelativeGlob":"test/*/.test.js"},{"glob":true,"value":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test//*.test.ts","workspaceFolderRelativeGlob":"test//*.test.ts"}] 2024-10-08 22:55:40.370 [debug] Syncing file {"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts.git","external":"git:/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts.git?%7B%22path%22%3A%22%2Fhome%2Fmuhammadyusuf-kurbonov%2FProjects%2Fmocha-forVSCode-bug-example%2Ftest%2Fexample.test.ts%22%2C%22ref%22%3A%22%22%7D","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts.git","scheme":"git","query":"{\"path\":\"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts\",\"ref\":\"\"}"} 2024-10-08 22:55:40.473 [debug] Syncing file {"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","external":"file:///home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","scheme":"file"} 2024-10-08 22:55:40.587 [info] Reloaded tests from '/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts' Suite: +1 ~0 -0; Test: +2 ~0 -0 2024-10-08 22:55:43.038 [debug] Creating new test run {"include":[{"id":"Example test","uri":{"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","external":"file:///home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","scheme":"file"},"children":[{"id":"test example","uri":{"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","external":"file:///home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","scheme":"file"},"children":[],"range":[{"line":5,"character":4},{"line":7,"character":5}],"label":"test example","canResolveChildren":false,"busy":false,"tags":[]},{"id":"Skipped test","uri":{"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","external":"file:///home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","scheme":"file"},"children":[],"range":[{"line":8,"character":7},{"line":8,"character":9007199254740991}],"label":"Skipped test","canResolveChildren":false,"busy":false,"tags":[]}],"range":[{"line":0,"character":0},{"line":10,"character":1}],"label":"Example test","canResolveChildren":false,"busy":false,"tags":[]}],"exclude":[],"profile":{"controllerId":"file:///home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/.mocharc.yml","profileId":-572981039,"g":"Mocha Config","kind":1,"h":false},"continuous":false,"preserveFocus":true} 2024-10-08 22:55:43.038 [debug] resolving 'mocha' via /home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example 2024-10-08 22:55:43.040 [debug] 'mocha' resolved to '/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/mocha/index.js' 2024-10-08 22:55:43.041 [debug] resolving 'mocha' via /home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example 2024-10-08 22:55:43.043 [debug] 'mocha' resolved to '/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/mocha/index.js' 2024-10-08 22:55:43.044 [debug] resolving 'mocha/package.json' via /home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example 2024-10-08 22:55:43.045 [debug] 'mocha/package.json' resolved to '/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/mocha/package.json' 2024-10-08 22:55:43.056 [info] Start test execution with args ["/home/muhammadyusuf-kurbonov/.nvm/versions/node/v22.4.0/bin/node","/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/mocha/bin/mocha.js","--config","/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/.mocharc.yml","--reporter","/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/.mocha-vscode/fullJsonStreamReporter.js","--ignore","/.","--file","test/example.test.ts","--grep","/^(Example test )/"] 2024-10-08 22:55:43.056 [info] Start test execution with env {"NODE_ENV":"test"} 2024-10-08 22:55:43.189 [debug] Syncing file {"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/.mocha-vscode/fullJsonStreamReporter.js","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/.mocha-vscode/fullJsonStreamReporter.js","scheme":"file"} 2024-10-08 22:55:43.189 [debug] Syncing file {"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/.mocha-vscode/fullJsonStreamReporterTypes.js","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/.mocha-vscode/fullJsonStreamReporterTypes.js","scheme":"file"} 2024-10-08 22:55:43.658 [error] Error: Test process exited with code 1 at ChildProcess. (/home/muhammadyusuf-kurbonov/Projects/mocha-vscode/out/runner.js:298:28) at ChildProcess.emit (node:events:519:28) at ChildProcess._handle.onexit (node:internal/child_process:294:12) at Process.callbackTrampoline (node:internal/async_hooks:130:17) 2024-10-08 22:55:46.097 [debug] Creating new test run {"include":[{"id":"Example test","uri":{"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","external":"file:///home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","scheme":"file"},"children":[{"id":"test example","uri":{"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","external":"file:///home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","scheme":"file"},"children":[],"range":[{"line":5,"character":4},{"line":7,"character":5}],"label":"test example","canResolveChildren":false,"busy":false,"tags":[]},{"id":"Skipped test","uri":{"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","external":"file:///home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","scheme":"file"},"children":[],"range":[{"line":8,"character":7},{"line":8,"character":9007199254740991}],"label":"Skipped test","canResolveChildren":false,"busy":false,"tags":[]}],"range":[{"line":0,"character":0},{"line":10,"character":1}],"label":"Example test","canResolveChildren":false,"busy":false,"tags":[]}],"exclude":[],"profile":{"controllerId":"file:///home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/.mocharc.yml","profileId":-572981039,"g":"Mocha Config","kind":1,"h":false},"continuous":false,"preserveFocus":true} 2024-10-08 22:55:46.097 [debug] resolving 'mocha' via /home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example 2024-10-08 22:55:46.100 [debug] 'mocha' resolved to '/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/mocha/index.js' 2024-10-08 22:55:46.100 [debug] resolving 'mocha' via /home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example 2024-10-08 22:55:46.101 [debug] 'mocha' resolved to '/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/mocha/index.js' 2024-10-08 22:55:46.123 [info] Start test execution with args ["/home/muhammadyusuf-kurbonov/.nvm/versions/node/v22.4.0/bin/node","/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/mocha/bin/mocha.js","--config","/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/.mocharc.yml","--reporter","/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/.mocha-vscode/fullJsonStreamReporter.js","--ignore","/.","--file","test/example.test.ts","--grep","/^(Example test )/"] 2024-10-08 22:55:46.123 [info] Start test execution with env {"NODE_ENV":"test"} 2024-10-08 22:55:46.177 [debug] Syncing file {"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/.mocha-vscode/fullJsonStreamReporter.js","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/.mocha-vscode/fullJsonStreamReporter.js","scheme":"file"} 2024-10-08 22:55:46.177 [debug] Syncing file {"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/.mocha-vscode/fullJsonStreamReporterTypes.js","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/.mocha-vscode/fullJsonStreamReporterTypes.js","scheme":"file"} 2024-10-08 22:55:46.618 [error] Error: Test process exited with code 1 at ChildProcess. (/home/muhammadyusuf-kurbonov/Projects/mocha-vscode/out/runner.js:298:28) at ChildProcess.emit (node:events:519:28) at ChildProcess._handle.onexit (node:internal/child_process:294:12) at Process.callbackTrampoline (node:internal/async_hooks:130:17) 2024-10-08 22:56:01.796 [info] Mocha Test Runner Started (id: coderline.mocha-vscode, version 1.2.0) {"version":"1.1.0-preview+FFFFFFF","date":"2024-04-02T14:30:00Z"} 2024-10-08 22:56:01.796 [debug] Installing ESBuild binary 2024-10-08 22:56:01.796 [debug] Resolving Node.js executable 2024-10-08 22:56:04.281 [debug] Found Node.js in PATH at '/home/muhammadyusuf-kurbonov/.nvm/versions/node/v22.4.0/bin/node' 2024-10-08 22:56:04.357 [debug] Installing ESBuild binary exited with code 0 2024-10-08 22:56:04.357 [debug] Syncing workspace folders 0 2024-10-08 22:56:04.357 [debug] New workspace folder {"uri":{"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example","external":"file:///home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example","scheme":"file"},"name":"mocha-forVSCode-bug-example","index":0} 2024-10-08 22:56:04.514 [debug] Checking workspace folder for config files {"uri":{"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example","external":"file:///home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example","scheme":"file"},"name":"mocha-forVSCode-bug-example","index":0} 2024-10-08 22:56:04.514 [debug] Added new controller via config file file:///home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/.mocharc.yml 2024-10-08 22:56:04.515 [info] New Test Controller for workspace folder and config /home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example /home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/.mocharc.yml 2024-10-08 22:56:04.515 [debug] resolving 'mocha/lib/cli/options' via /home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example 2024-10-08 22:56:04.515 [debug] Creating new resolver for resolving Mocha 2024-10-08 22:56:05.231 [debug] 'mocha/lib/cli/options' resolved to '/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/mocha/lib/cli/options.js' 2024-10-08 22:56:05.278 [debug] resolving 'mocha/lib/cli/config' via /home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example 2024-10-08 22:56:05.286 [debug] 'mocha/lib/cli/config' resolved to '/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/mocha/lib/cli/config.js' 2024-10-08 22:56:05.296 [debug] Reading mocharc, changing working directory to /home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example 2024-10-08 22:56:05.296 [debug] Loaded mocharc via Mocha 2024-10-08 22:56:05.296 [debug] Reading mocharc, changing working directory back to /home/muhammadyusuf-kurbonov 2024-10-08 22:56:05.296 [debug] Loaded mocharc via '/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/.mocharc.yml', with patterns [{"glob":true,"value":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/*/.test.js","workspaceFolderRelativeGlob":"test//*.test.js"},{"glob":true,"value":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test//*.test.ts","workspaceFolderRelativeGlob":"test/*/.test.ts"}] 2024-10-08 22:56:05.298 [debug] Syncing file {"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/.git/FETCH_HEAD","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/.git/FETCH_HEAD","scheme":"file"} 2024-10-08 22:56:05.327 [debug] Syncing file {"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","external":"file:///home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","scheme":"file"} 2024-10-08 22:56:05.398 [info] Reloaded tests from '/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts' Suite: +1 ~0 -0; Test: +2 ~0 -0 2024-10-08 22:56:06.258 [debug] Syncing file {"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts.git","external":"git:/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts.git?%7B%22path%22%3A%22%2Fhome%2Fmuhammadyusuf-kurbonov%2FProjects%2Fmocha-forVSCode-bug-example%2Ftest%2Fexample.test.ts%22%2C%22ref%22%3A%22%22%7D","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts.git","scheme":"git","query":"{\"path\":\"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts\",\"ref\":\"\"}"} 2024-10-08 22:56:08.796 [debug] Creating new test run {"include":[{"id":"Example test","uri":{"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","external":"file:///home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","scheme":"file"},"children":[{"id":"test example","uri":{"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","external":"file:///home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","scheme":"file"},"children":[],"range":[{"line":5,"character":4},{"line":7,"character":5}],"label":"test example","canResolveChildren":false,"busy":false,"tags":[]},{"id":"Skipped test","uri":{"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","external":"file:///home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","scheme":"file"},"children":[],"range":[{"line":8,"character":7},{"line":8,"character":9007199254740991}],"label":"Skipped test","canResolveChildren":false,"busy":false,"tags":[]}],"range":[{"line":0,"character":0},{"line":10,"character":1}],"label":"Example test","canResolveChildren":false,"busy":false,"tags":[]}],"exclude":[],"profile":{"controllerId":"file:///home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/.mocharc.yml","profileId":-572981039,"g":"Mocha Config","kind":1,"h":false},"continuous":false,"preserveFocus":true} 2024-10-08 22:56:08.796 [debug] resolving 'mocha' via /home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example 2024-10-08 22:56:08.807 [debug] 'mocha' resolved to '/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/mocha/index.js' 2024-10-08 22:56:08.808 [debug] resolving 'mocha' via /home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example 2024-10-08 22:56:08.809 [debug] 'mocha' resolved to '/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/mocha/index.js' 2024-10-08 22:56:08.811 [debug] resolving 'mocha/package.json' via /home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example 2024-10-08 22:56:08.812 [debug] 'mocha/package.json' resolved to '/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/mocha/package.json' 2024-10-08 22:56:08.824 [info] Start test execution with args ["/home/muhammadyusuf-kurbonov/.nvm/versions/node/v22.4.0/bin/node","/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/mocha/bin/mocha.js","--config","/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/.mocharc.yml","--reporter","/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/.mocha-vscode/fullJsonStreamReporter.js","--ignore","/.","--file","test/example.test.ts","--grep","/^(Example test )/"] 2024-10-08 22:56:08.824 [info] Start test execution with env {"NODE_ENV":"test"} 2024-10-08 22:56:08.887 [debug] Syncing file {"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/.mocha-vscode/fullJsonStreamReporter.js","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/.mocha-vscode/fullJsonStreamReporter.js","scheme":"file"} 2024-10-08 22:56:08.887 [debug] Syncing file {"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/.mocha-vscode/fullJsonStreamReporterTypes.js","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/.mocha-vscode/fullJsonStreamReporterTypes.js","scheme":"file"} 2024-10-08 22:56:09.360 [error] Error: Test process exited with code 1 at ChildProcess. (/home/muhammadyusuf-kurbonov/Projects/mocha-vscode/out/runner.js:298:28) at ChildProcess.emit (node:events:519:28) at ChildProcess._handle.onexit (node:internal/child_process:294:12) at Process.callbackTrampoline (node:internal/async_hooks:130:17) 2024-10-08 22:56:29.919 [info] Mocha Test Runner Started (id: coderline.mocha-vscode, version 1.2.0) {"version":"1.1.0-preview+FFFFFFF","date":"2024-04-02T14:30:00Z"} 2024-10-08 22:56:29.919 [debug] Installing ESBuild binary 2024-10-08 22:56:29.919 [debug] Resolving Node.js executable 2024-10-08 22:56:41.878 [debug] Found Node.js in PATH at '/home/muhammadyusuf-kurbonov/.nvm/versions/node/v22.4.0/bin/node' 2024-10-08 22:56:41.977 [debug] Installing ESBuild binary exited with code 0 2024-10-08 22:56:41.978 [debug] Syncing workspace folders 0 2024-10-08 22:56:41.978 [debug] New workspace folder {"uri":{"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example","external":"file:///home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example","scheme":"file"},"name":"mocha-forVSCode-bug-example","index":0} 2024-10-08 22:56:42.244 [debug] Checking workspace folder for config files {"uri":{"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example","external":"file:///home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example","scheme":"file"},"name":"mocha-forVSCode-bug-example","index":0} 2024-10-08 22:56:42.244 [debug] Added new controller via config file file:///home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/.mocharc.yml 2024-10-08 22:56:42.244 [info] New Test Controller for workspace folder and config /home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example /home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/.mocharc.yml 2024-10-08 22:56:42.244 [debug] resolving 'mocha/lib/cli/options' via /home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example 2024-10-08 22:56:42.244 [debug] Creating new resolver for resolving Mocha 2024-10-08 22:56:42.975 [debug] 'mocha/lib/cli/options' resolved to '/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/mocha/lib/cli/options.js' 2024-10-08 22:56:43.025 [debug] resolving 'mocha/lib/cli/config' via /home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example 2024-10-08 22:56:43.044 [debug] 'mocha/lib/cli/config' resolved to '/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/mocha/lib/cli/config.js' 2024-10-08 22:56:43.055 [debug] Reading mocharc, changing working directory to /home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example 2024-10-08 22:56:43.055 [debug] Loaded mocharc via Mocha 2024-10-08 22:56:43.055 [debug] Reading mocharc, changing working directory back to /home/muhammadyusuf-kurbonov 2024-10-08 22:56:43.055 [debug] Loaded mocharc via '/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/.mocharc.yml', with patterns [{"glob":true,"value":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test//*.test.js","workspaceFolderRelativeGlob":"test/*/.test.js"},{"glob":true,"value":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test//*.test.ts","workspaceFolderRelativeGlob":"test//*.test.ts"}] 2024-10-08 22:56:43.152 [debug] Syncing file {"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","external":"file:///home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","scheme":"file"} 2024-10-08 22:56:43.218 [info] Reloaded tests from '/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts' Suite: +1 ~0 -0; Test: +3 ~0 -0 2024-10-08 22:59:29.618 [debug] Syncing file {"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts.git","external":"git:/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts.git?%7B%22path%22%3A%22%2Fhome%2Fmuhammadyusuf-kurbonov%2FProjects%2Fmocha-forVSCode-bug-example%2Ftest%2Fexample.test.ts%22%2C%22ref%22%3A%22%22%7D","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts.git","scheme":"git","query":"{\"path\":\"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts\",\"ref\":\"\"}"} 2024-10-08 22:59:32.663 [debug] Creating new test run {"include":[{"id":"Example test","uri":{"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","external":"file:///home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","scheme":"file"},"children":[{"id":"test example","uri":{"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","external":"file:///home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","scheme":"file"},"children":[],"range":[{"line":5,"character":4},{"line":7,"character":5}],"label":"test example","canResolveChildren":false,"busy":false,"tags":[]},{"id":"Skipped test","uri":{"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","external":"file:///home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","scheme":"file"},"children":[],"range":[{"line":8,"character":7},{"line":8,"character":9007199254740991}],"label":"Skipped test","canResolveChildren":false,"busy":false,"tags":[]},{"id":"empty test","uri":{"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","external":"file:///home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","scheme":"file"},"children":[],"range":[{"line":9,"character":4},{"line":9,"character":9007199254740991}],"label":"empty test","canResolveChildren":false,"busy":false,"tags":[]}],"range":[{"line":0,"character":0},{"line":10,"character":1}],"label":"Example test","canResolveChildren":false,"busy":false,"tags":[]}],"exclude":[],"profile":{"controllerId":"file:///home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/.mocharc.yml","profileId":-572981039,"g":"Mocha Config","kind":1,"h":false},"continuous":false,"preserveFocus":true} 2024-10-08 22:59:32.663 [debug] resolving 'mocha' via /home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example 2024-10-08 22:59:32.667 [debug] 'mocha' resolved to '/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/mocha/index.js' 2024-10-08 22:59:32.671 [debug] resolving 'mocha' via /home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example 2024-10-08 22:59:32.672 [debug] 'mocha' resolved to '/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/mocha/index.js' 2024-10-08 22:59:32.673 [debug] resolving 'mocha/package.json' via /home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example 2024-10-08 22:59:32.674 [debug] 'mocha/package.json' resolved to '/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/mocha/package.json' 2024-10-08 22:59:32.684 [info] Start test execution with args ["/home/muhammadyusuf-kurbonov/.nvm/versions/node/v22.4.0/bin/node","/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/mocha/bin/mocha.js","--config","/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/.mocharc.yml","--reporter","/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/.mocha-vscode/fullJsonStreamReporter.js","--ignore","/.","--file","test/example.test.ts","--grep","/^(Example test )/"] 2024-10-08 22:59:32.684 [info] Start test execution with env {"NODE_ENV":"test"} 2024-10-08 22:59:32.746 [debug] Syncing file {"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/.mocha-vscode/fullJsonStreamReporter.js","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/.mocha-vscode/fullJsonStreamReporter.js","scheme":"file"} 2024-10-08 22:59:32.746 [debug] Syncing file {"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/.mocha-vscode/fullJsonStreamReporterTypes.js","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/.mocha-vscode/fullJsonStreamReporterTypes.js","scheme":"file"} 2024-10-08 22:59:33.198 [error] Error: Test process exited with code 1 at ChildProcess. (/home/muhammadyusuf-kurbonov/Projects/mocha-vscode/out/runner.js:298:28) at ChildProcess.emit (node:events:519:28) at ChildProcess._handle.onexit (node:internal/child_process:294:12) at Process.callbackTrampoline (node:internal/async_hooks:130:17) 2024-10-08 22:59:42.401 [debug] Syncing file {"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/.git/FETCH_HEAD","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/.git/FETCH_HEAD","scheme":"file"} 2024-10-08 22:59:43.063 [debug] Syncing file {"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/.git/FETCH_HEAD","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/.git/FETCH_HEAD","scheme":"file"} 2024-10-08 22:59:44.986 [debug] Syncing file {"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts.git","external":"git:/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts.git?%7B%22path%22%3A%22%2Fhome%2Fmuhammadyusuf-kurbonov%2FProjects%2Fmocha-forVSCode-bug-example%2Ftest%2Fexample.test.ts%22%2C%22ref%22%3A%22%22%7D","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts.git","scheme":"git","query":"{\"path\":\"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts\",\"ref\":\"\"}"} 2024-10-08 22:59:56.289 [info] Mocha Test Runner Started (id: coderline.mocha-vscode, version 1.2.0) {"version":"1.1.0-preview+FFFFFFF","date":"2024-04-02T14:30:00Z"} 2024-10-08 22:59:56.289 [debug] Installing ESBuild binary 2024-10-08 22:59:56.289 [debug] Resolving Node.js executable 2024-10-08 22:59:57.293 [debug] Found Node.js in PATH at '/home/muhammadyusuf-kurbonov/.nvm/versions/node/v22.4.0/bin/node' 2024-10-08 23:00:10.322 [debug] Installing ESBuild binary exited with code 0 2024-10-08 23:00:10.322 [debug] Syncing workspace folders 0 2024-10-08 23:00:10.322 [debug] New workspace folder {"uri":{"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example","external":"file:///home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example","scheme":"file"},"name":"mocha-forVSCode-bug-example","index":0} 2024-10-08 23:00:10.820 [debug] Checking workspace folder for config files {"uri":{"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example","external":"file:///home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example","scheme":"file"},"name":"mocha-forVSCode-bug-example","index":0} 2024-10-08 23:00:10.820 [debug] Added new controller via config file file:///home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/.mocharc.yml 2024-10-08 23:00:10.820 [info] New Test Controller for workspace folder and config /home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example /home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/.mocharc.yml 2024-10-08 23:00:10.820 [debug] resolving 'mocha/lib/cli/options' via /home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example 2024-10-08 23:00:10.820 [debug] Creating new resolver for resolving Mocha 2024-10-08 23:00:12.121 [debug] 'mocha/lib/cli/options' resolved to '/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/mocha/lib/cli/options.js' 2024-10-08 23:00:12.166 [debug] resolving 'mocha/lib/cli/config' via /home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example 2024-10-08 23:00:12.175 [debug] 'mocha/lib/cli/config' resolved to '/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/mocha/lib/cli/config.js' 2024-10-08 23:00:12.187 [debug] Reading mocharc, changing working directory to /home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example 2024-10-08 23:00:12.187 [debug] Loaded mocharc via Mocha 2024-10-08 23:00:12.187 [debug] Reading mocharc, changing working directory back to /home/muhammadyusuf-kurbonov 2024-10-08 23:00:12.187 [debug] Loaded mocharc via '/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/.mocharc.yml', with patterns [{"glob":true,"value":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test//*.test.js","workspaceFolderRelativeGlob":"test//*.test.js"},{"glob":true,"value":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test//*.test.ts","workspaceFolderRelativeGlob":"test/*/.test.ts"}] 2024-10-08 23:00:12.189 [debug] Syncing file {"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts.git","external":"git:/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts.git?%7B%22path%22%3A%22%2Fhome%2Fmuhammadyusuf-kurbonov%2FProjects%2Fmocha-forVSCode-bug-example%2Ftest%2Fexample.test.ts%22%2C%22ref%22%3A%22%22%7D","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts.git","scheme":"git","query":"{\"path\":\"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts\",\"ref\":\"\"}"} 2024-10-08 23:00:12.234 [debug] Syncing file {"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","external":"file:///home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","scheme":"file"} 2024-10-08 23:00:12.258 [info] Reloaded tests from '/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts' Suite: +1 ~0 -0; Test: +2 ~0 -0 2024-10-08 23:00:14.775 [debug] Creating new test run {"include":[{"id":"Example test","uri":{"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","external":"file:///home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","scheme":"file"},"children":[{"id":"test example","uri":{"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","external":"file:///home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","scheme":"file"},"children":[],"range":[{"line":1,"character":4},{"line":3,"character":5}],"label":"test example","canResolveChildren":false,"busy":false,"tags":[]},{"id":"Skipped test","uri":{"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","external":"file:///home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/test/example.test.ts","scheme":"file"},"children":[],"range":[{"line":4,"character":7},{"line":4,"character":9007199254740991}],"label":"Skipped test","canResolveChildren":false,"busy":false,"tags":[]}],"range":[{"line":0,"character":0},{"line":6,"character":1}],"label":"Example test","canResolveChildren":false,"busy":false,"tags":[]}],"exclude":[],"profile":{"controllerId":"file:///home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/.mocharc.yml","profileId":-572981039,"g":"Mocha Config","kind":1,"h":false},"continuous":false,"preserveFocus":true} 2024-10-08 23:00:14.776 [debug] resolving 'mocha' via /home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example 2024-10-08 23:00:14.777 [debug] 'mocha' resolved to '/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/mocha/index.js' 2024-10-08 23:00:14.781 [debug] resolving 'mocha' via /home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example 2024-10-08 23:00:14.781 [debug] 'mocha' resolved to '/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/mocha/index.js' 2024-10-08 23:00:14.783 [debug] resolving 'mocha/package.json' via /home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example 2024-10-08 23:00:14.783 [debug] 'mocha/package.json' resolved to '/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/mocha/package.json' 2024-10-08 23:00:14.801 [info] Start test execution with args ["/home/muhammadyusuf-kurbonov/.nvm/versions/node/v22.4.0/bin/node","/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/mocha/bin/mocha.js","--config","/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/.mocharc.yml","--reporter","/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/.mocha-vscode/fullJsonStreamReporter.js","--ignore","/.","--file","test/example.test.ts","--grep","/^(Example test )/"] 2024-10-08 23:00:14.801 [info] Start test execution with env {"NODE_ENV":"test"} 2024-10-08 23:00:14.919 [debug] Syncing file {"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/.mocha-vscode/fullJsonStreamReporter.js","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/.mocha-vscode/fullJsonStreamReporter.js","scheme":"file"} 2024-10-08 23:00:14.919 [debug] Syncing file {"$mid":1,"fsPath":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/.mocha-vscode/fullJsonStreamReporterTypes.js","path":"/home/muhammadyusuf-kurbonov/Projects/mocha-forVSCode-bug-example/node_modules/.mocha-vscode/fullJsonStreamReporterTypes.js","scheme":"file"}

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.0 Publisher: CoderLine VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=coderline.mocha-vscode

VS Code Version Details

Version: 1.94.0 Commit: d78a74bcdfad14d5d3b1b782f87255d802b57511 Date: 2024-10-02T13:08:12.626Z Electron: 30.5.1 ElectronBuildId: 10262041 Chromium: 124.0.6367.243 Node.js: 20.16.0 V8: 12.4.254.20-electron.0 OS: Linux x64 6.10.12-200.fc40.x86_64

Further details

No response