Skip to content

Commit

Permalink
build: add .vscode/launch.json for running tests (#309)
Browse files Browse the repository at this point in the history
  • Loading branch information
douglance authored Jan 11, 2024
1 parent b8c72d8 commit d859f1d
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
.DS_Store
.idea
.vscode
!.vscode/launch.json
*.ao
compiled.json
ci
Expand Down Expand Up @@ -313,4 +314,4 @@ packages/**/issues

docs
json_data
abi
abi
23 changes: 23 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -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": ["<node_internals>/**"]
},
{
"type": "node",
"request": "launch",
"name": "Run Integration Tests",
"runtimeExecutable": "yarn",
"runtimeVersion": "18",
"runtimeArgs": ["test:integration"],
"skipFiles": ["<node_internals>/**"]
}
]
}

0 comments on commit d859f1d

Please sign in to comment.