hbenl / vscode-mocha-test-adapter

Mocha Test Adapter for the VS Code Test Explorer
MIT License
91 stars 31 forks source link

where can I find the error log #177

Closed jan4984 closed 3 years ago

jan4984 commented 3 years ago

image

hbenl commented 3 years ago

Well, you are seeing the regular error log ("The worker process finished with code 1 and signal null"). Usually it contains more useful information, but not in this case, so we need to dig deeper: you can enable diagnostic logging, hopefully that will contain the info you need (if you use the mochaExplorer.logpanel setting, it will create an output panel called "Mocha Explorer Log").

jan4984 commented 3 years ago

Thanks. In describe function top-most scope, there's a run-time exception, after fixing that, it's OK now. Is it a kind of bug, should the explorer just parse the test files?