Skip to content

Commit

Permalink
make sure shell integration is disabled on smart send smoke test
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonykim1 committed Oct 30, 2024
1 parent eaa78f2 commit d12ae35
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/test/smoke/smartSend.smoke.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ suite('Smoke Test: Run Smart Selection and Advance Cursor', async () => {
await configuration.update('REPL.sendToNativeREPL', false, vscode.ConfigurationTarget.Global);

const configurationTerminal = vscode.workspace.getConfiguration('terminal');
// set terminal.integrated.shellIntegration.enabled to false
await configurationTerminal.update(
'integrated.shellIntegration.enabled',
false,
vscode.ConfigurationTarget.Global,
);
configurationTerminal.update(
'integrated.defaultProfile.windows',
'PowerShell',
Expand Down

0 comments on commit d12ae35

Please sign in to comment.