From: Jérôme Benoit Date: Fri, 6 Oct 2023 17:38:51 +0000 (+0200) Subject: test(simulator): recommend and setup extension for node.js test runner X-Git-Tag: v1.2.24~113 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=994a64a3d213821b2384ef2df74c2c8e4eeab098;p=e-mobility-charging-stations-simulator.git test(simulator): recommend and setup extension for node.js test runner Signed-off-by: Jérôme Benoit --- diff --git a/.vscode/extensions.json b/.vscode/extensions.json index df91b616..d5f393d3 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -3,6 +3,7 @@ // for the documentation about the extensions.json format "recommendations": [ "codezombiech.gitignore", + "connor4312.nodejs-testing", "dbaeumer.vscode-eslint", "eamodio.gitlens", "EditorConfig.EditorConfig", diff --git a/.vscode/settings.json b/.vscode/settings.json index c4fe6683..3768a728 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,7 +2,6 @@ "editor.codeActionsOnSave": { "source.fixAll": true }, - "testExplorer.useNativeTesting": true, "cSpell.words": [ "backoff", "benoit", diff --git a/e-mobility-charging-stations-simulator.code-workspace b/e-mobility-charging-stations-simulator.code-workspace index 6aca5a27..4975eed0 100644 --- a/e-mobility-charging-stations-simulator.code-workspace +++ b/e-mobility-charging-stations-simulator.code-workspace @@ -6,5 +6,17 @@ { "path": "ui/web" } - ] + ], + "settings": { + "nodejs-testing.extensions": [ + { + "extensions": ["mjs", "cjs", "js"], + "parameters": [] + }, + { + "extensions": ["mts", "cts", "ts"], + "parameters": ["--loader", "tsx"] + } + ] + } }