build: fix code mocha explorer settings with ESM
[e-mobility-charging-stations-simulator.git] / .vscode / settings.json
index ed74f64355114623764c9244eff862e6eb635549..c3f6a9320129e8391fe9f4f04918b70b02bf81f9 100644 (file)
@@ -3,6 +3,11 @@
     "source.fixAll": true
   },
   "testExplorer.useNativeTesting": true,
+  "mochaExplorer.nodeArgv": [
+    "--loader=ts-node/esm",
+    "--no-warnings=ExperimentalWarning",
+    "--experimental-specifier-resolution=node"
+  ],
   "mochaExplorer.files": ["test/**/*Test.ts"],
   "mochaExplorer.debuggerConfig": "Debug Simulator Unit Tests",
   "cSpell.words": [