Skip to content

Commit

Permalink
🩹 Fix Extension Tests launch configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
s-weigand committed Nov 11, 2023
1 parent a594aee commit 771889f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/test"
"--extensionTestsPath=${workspaceFolder}/out/test/suite/index"
],
"outFiles": ["${workspaceFolder}/out/test/**/*.js"]
"outFiles": ["${workspaceFolder}/out/test/**/*.js"],
"preLaunchTask": "build-tests"
}
]
}
15 changes: 15 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,21 @@
// "clear": true,
"close": true
}
},
{
"label": "build-tests",
"type": "npm",
"script": "compile-tests",
"problemMatcher": [],
"presentation": {
// "echo": true,
// "reveal": "silent",
// "focus": false,
// "panel": "new",
// "showReuseMessage": false,
// "clear": true,
"close": true
}
}
]
}

0 comments on commit 771889f

Please sign in to comment.