Skip to content

Commit

Permalink
test(simulator): recommend and setup extension for node.js test runner
Browse files Browse the repository at this point in the history
Signed-off-by: Jérôme Benoit <[email protected]>
  • Loading branch information
Jérôme Benoit committed Oct 6, 2023
1 parent b24d444 commit 994a64a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
1 change: 1 addition & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 0 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"editor.codeActionsOnSave": {
"source.fixAll": true
},
"testExplorer.useNativeTesting": true,
"cSpell.words": [
"backoff",
"benoit",
Expand Down
14 changes: 13 additions & 1 deletion e-mobility-charging-stations-simulator.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,17 @@
{
"path": "ui/web"
}
]
],
"settings": {
"nodejs-testing.extensions": [
{
"extensions": ["mjs", "cjs", "js"],
"parameters": []
},
{
"extensions": ["mts", "cts", "ts"],
"parameters": ["--loader", "tsx"]
}
]
}
}

0 comments on commit 994a64a

Please sign in to comment.