Skip to content

Commit c2af363

Browse files
e2e: MCPP_E2E_EXTENSION runs the suite on another extension directory (an unpacked .vsix)
Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
1 parent 6ee5aa5 commit c2af363

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎vscode/test/e2e/runTest.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ async function main(): Promise<void> {
2828
"security.workspace.trust.enabled": false,
2929
}));
3030
const executable = process.env.MCPP_E2E_CODE;
31-
const extensionDevelopmentPath = path.join(repo, "vscode", "dist", "extension");
31+
// MCPP_E2E_EXTENSION: another extension directory (an unpacked .vsix) in place of the staged one.
32+
const extensionDevelopmentPath = process.env.MCPP_E2E_EXTENSION ?? path.join(repo, "vscode", "dist", "extension");
3233
await runTests({
3334
...(executable ? { vscodeExecutablePath: executable } : { version: "1.91.0" }),
3435
extensionDevelopmentPath,

0 commit comments

Comments
 (0)