unit test mocha Visual Studio Code describe is not defined
问题 If i run in the console the test runs fine mocha --require ts-node/register tests/**/*.spec.ts Note: I installed mocha and mocha -g I want to run unit test from Visual Studio Code launcgh.js file "version": "0.2.0", "configurations": [ { "type": "node", "request": "launch", "name": "Mocha Tests", "program": "${workspaceFolder}/node_modules/mocha/bin/_mocha", "args": [ "--require", "ts-node/register", "-u", "tdd", "--timeout", "999999", "--colors", "${workspaceFolder}/tests/**/*.spec.ts" ],