From d859f1d9a4601e58062e0033270605217d7a8b1f Mon Sep 17 00:00:00 2001 From: Doug <4741454+douglance@users.noreply.github.com> Date: Thu, 11 Jan 2024 13:16:27 -0500 Subject: [PATCH] build: add .vscode/launch.json for running tests (#309) --- .gitignore | 3 ++- .vscode/launch.json | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 .vscode/launch.json diff --git a/.gitignore b/.gitignore index a76994d098..037426b618 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ .DS_Store .idea .vscode +!.vscode/launch.json *.ao compiled.json ci @@ -313,4 +314,4 @@ packages/**/issues docs json_data -abi \ No newline at end of file +abi diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000000..b6b3430102 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,23 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "type": "node", + "request": "launch", + "name": "Run Unit Tests", + "runtimeExecutable": "yarn", + "runtimeVersion": "18", + "runtimeArgs": ["test:unit"], + "skipFiles": ["/**"] + }, + { + "type": "node", + "request": "launch", + "name": "Run Integration Tests", + "runtimeExecutable": "yarn", + "runtimeVersion": "18", + "runtimeArgs": ["test:integration"], + "skipFiles": ["/**"] + } + ] +}