From f27702b49aee9da93fab49ffbe080af5491d010e Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Wed, 14 Oct 2020 17:36:26 +0200 Subject: [PATCH] MOBILE-3320 editor: Add vscode settings --- .gitignore | 1 - .vscode/launch.json | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 .vscode/launch.json diff --git a/.gitignore b/.gitignore index 416fc4c1f..ebdd7f113 100644 --- a/.gitignore +++ b/.gitignore @@ -22,7 +22,6 @@ npm-debug.log* /.sass-cache /.sourcemaps /.versions -/.vscode /coverage /dist /node_modules diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 000000000..b2467c4d7 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,35 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "type": "node", + "request": "launch", + "name": "Jest All", + "program": "${workspaceFolder}/node_modules/.bin/jest", + "args": ["--runInBand"], + "console": "integratedTerminal", + "internalConsoleOptions": "neverOpen", + "disableOptimisticBPs": true, + "windows": { + "program": "${workspaceFolder}/node_modules/jest/bin/jest", + } + }, + { + "type": "node", + "request": "launch", + "name": "Jest Current File", + "program": "${workspaceFolder}/node_modules/.bin/jest", + "args": [ + "${fileBasenameNoExtension}", + "--config", + "jest.config.js" + ], + "console": "integratedTerminal", + "internalConsoleOptions": "neverOpen", + "disableOptimisticBPs": true, + "windows": { + "program": "${workspaceFolder}/node_modules/jest/bin/jest", + } + } + ] +}