vscode jest dubug Нормальный вывод результатов теста в терминал и console.log();
Primary tabs
Используйте в вашем рецепте .vscode/launch.json опции для использования стандартного терминала (а не т.н. debug console):
"console": "integratedTerminal", "internalConsoleOptions": "neverOpen",
Например:
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Jest Current",
"skipFiles": [
"<node_internals>/**"
],
"args": [
"--experimental-vm-modules",
"node_modules/.bin/jest",
"--no-cache",
"--verbose",
"-i",
"${fileBasename}",
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
},
]
}
- Log in to post comments
- 1647 reads