From de83dee15858fd622abb1dadf7cf2b1e0d2888b7 Mon Sep 17 00:00:00 2001 From: TheSparta Date: Sun, 5 Nov 2023 19:40:15 +0000 Subject: [PATCH] Fixed vscode launch configuration for vitest --- project/.vscode/launch.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/project/.vscode/launch.json b/project/.vscode/launch.json index 9c23469f..a4a405ec 100644 --- a/project/.vscode/launch.json +++ b/project/.vscode/launch.json @@ -25,11 +25,11 @@ "name": "Run Vitest Tests", "type": "node", "runtimeVersion": "18.15.0", - "runtimeExecutable": "node", + "runtimeExecutable": "npm", "request": "launch", - "program": "${workspaceFolder}/node_modules/.bin/vitest", - "args": [ - "run" + "runtimeArgs": [ + "run", + "test" ], "console": "integratedTerminal", "internalConsoleOptions": "neverOpen"