Skip to content

Commit 4872e29

Browse files
committed
Enable tests for "stable"
This is temporary, to be reverted as soon as stable is tested.
1 parent bc8c0e6 commit 4872e29

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.vscode/launch.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"args": [
4040
"--disable-extensions",
4141
"--enable-proposed-api",
42-
"ms-vscode.powershell-preview",
42+
"ms-vscode.powershell",
4343
"--extensionDevelopmentPath=${workspaceFolder}",
4444
"--extensionTestsPath=${workspaceFolder}/out/test/testRunner.js",
4545
"${workspaceFolder}/test"

test/features/ExternalApi.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import * as vscode from "vscode";
66
import { before, beforeEach, afterEach } from "mocha";
77
import { IExternalPowerShellDetails, IPowerShellExtensionClient } from "../../src/features/ExternalApi";
88

9-
const testExtensionId = "ms-vscode.powershell-preview";
9+
const testExtensionId = "ms-vscode.powershell";
1010

1111
suite("ExternalApi feature - Registration API", () => {
1212
let powerShellExtensionClient: IPowerShellExtensionClient;
@@ -82,7 +82,7 @@ suite("ExternalApi feature - Other APIs", () => {
8282
});
8383

8484
beforeEach(() => {
85-
sessionId = powerShellExtensionClient.registerExternalExtension("ms-vscode.powershell-preview");
85+
sessionId = powerShellExtensionClient.registerExternalExtension("ms-vscode.powershell");
8686
});
8787

8888
afterEach(() => {

test/runTests.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ async function main() {
2222
extensionTestsPath,
2323
launchArgs: [
2424
"--disable-extensions",
25-
"--enable-proposed-api", "ms-vscode.powershell-preview",
25+
"--enable-proposed-api", "ms-vscode.powershell",
2626
"./test"
2727
],
2828
version: "insiders"

0 commit comments

Comments
 (0)