Skip to content

Commit 69f9342

Browse files
authored
Update platform.test.ts
1 parent 9efa922 commit 69f9342

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/platform.test.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ suite("Platform module", () => {
7676

7777
checkDefaultPowerShellPath(
7878
platformDetails,
79-
platform.getAvailablePowerShellExes(platformDetails, undefined).filter((psPath) => (psPath.versionName)
80-
=== "PowerShell Core 6 (x86)")[0].exePath);
79+
"C:\\Program Files\\PowerShell\\6\\pwsh.exe");
8180

8281
checkAvailableWindowsPowerShellPaths(
8382
platformDetails,
@@ -107,8 +106,7 @@ suite("Platform module", () => {
107106

108107
checkDefaultPowerShellPath(
109108
platformDetails,
110-
platform.getAvailablePowerShellExes(platformDetails, undefined).filter((psPath) => (psPath.versionName)
111-
=== "PowerShell Core 6 (x86)")[0].exePath);
109+
"C:\\Program Files\\PowerShell\\6\\pwsh.exe");
112110

113111
checkAvailableWindowsPowerShellPaths(
114112
platformDetails,

0 commit comments

Comments
 (0)