diff --git a/.gitignore b/.gitignore index f0a5812..9ec4b74 100644 --- a/.gitignore +++ b/.gitignore @@ -10,5 +10,6 @@ coverage !.vscode/extensions.json !.vscode/settings.json !.vscode/tasks.json +!.vscode/launch.json .idea -.DS_Store \ No newline at end of file +.DS_Store diff --git a/.vscode/extensions.json b/.vscode/extensions.json index d826373..9002534 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,5 +1,6 @@ { "recommendations": [ + "connor4312.nodejs-testing", "oxc.oxc-vscode", "streetsidesoftware.code-spell-checker", "typescriptteam.native-preview", diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..668656c --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,15 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "type": "node", + "request": "launch", + "name": "Debug current test file", + "runtimeExecutable": "node", + "runtimeArgs": ["--test", "--strip-types"], + "args": ["${file}"], + "cwd": "${workspaceFolder}", + "console": "integratedTerminal" + } + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json index 4473f94..2021886 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,4 +1,14 @@ { + "nodejs-testing.extensions": [ + { + "extensions": ["mjs", "cjs", "js"], + "parameters": [] + }, + { + "extensions": ["ts"], + "parameters": ["--strip-types"] + } + ], "[typescript]": { "editor.defaultFormatter": "oxc.oxc-vscode", "editor.formatOnSave": true diff --git a/cspell.json b/cspell.json index bebc052..f0e5dff 100644 --- a/cspell.json +++ b/cspell.json @@ -42,7 +42,8 @@ "bestikk", "silverwind", "idris", - "todotasks" + "todotasks", + "connor" ], "ignorePaths": ["dist", "node_modules", "coverage", "*.svg", ".gitignore"] }