我正在尝试使用 VS Code 调试 Jest 单元测试。我有以下配置文件设置
"configurations": [
{
"name": "Debug Jest Tests",
"type": "node",
"request": "launch",
"runtimeArgs": [
"--inspect-brk",
"${workspaceRoot}/node_modules//jest/bin/jest.js",
"--runInBand"
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
}
]
Run Code Online (Sandbox Code Playgroud)
但是,当我运行 (F5) VS Code 时,出现以下错误
错误:测试运行完成后必须存在 AggregatedResult
知道为什么吗?