diff --git a/.gitignore b/.gitignore index ab4a50b5..07f01588 100644 --- a/.gitignore +++ b/.gitignore @@ -17,6 +17,5 @@ package-lock.json test-data/* data/* .env -.vscode *.sublime-project *.sublime-workspace diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..7bb1de3a --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,18 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "Debug Jest Tests", + "type": "node", + "preLaunchTask": "start-containers", + "request": "launch", + "runtimeArgs": [ + "--inspect-brk", + "${workspaceRoot}/node_modules/.bin/jest", + "--runInBand" + ], + "console": "integratedTerminal", + "internalConsoleOptions": "neverOpen" + } + ] +} diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 00000000..7130fa7c --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,13 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "start-containers", + "type": "shell", + "command": "${workspaceRoot}/bin/test.sh", + "args": ["-oc"] + } + ] +}