Skip to content

Commit 83dbb90

Browse files
committed
set default shell to pwsh
1 parent 8fb2e24 commit 83dbb90

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/test/smoke/smartSend.smoke.test.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,13 @@ suite('Smoke Test: Run Smart Selection and Advance Cursor', async () => {
2323
const configuration = vscode.workspace.getConfiguration('python');
2424
await configuration.update('REPL.sendToNativeREPL', false, vscode.ConfigurationTarget.Global);
2525

26-
// TODO: change default setting to pwsh for this test
26+
const configurationTerminal = vscode.workspace.getConfiguration('terminal');
27+
configurationTerminal.update(
28+
'integrated.defaultProfile.windows',
29+
'PowerShell',
30+
vscode.ConfigurationTarget.Global,
31+
);
32+
configurationTerminal.update('integrated.defaultProfile.osx', 'PowerShell', vscode.ConfigurationTarget.Global);
2733

2834
const file = path.join(
2935
EXTENSION_ROOT_DIR_FOR_TESTS,

0 commit comments

Comments
 (0)