Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/vscode-api-tests/src/singlefolder-tests/terminal.test.ts')
-rw-r--r--extensions/vscode-api-tests/src/singlefolder-tests/terminal.test.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/extensions/vscode-api-tests/src/singlefolder-tests/terminal.test.ts b/extensions/vscode-api-tests/src/singlefolder-tests/terminal.test.ts
index 4af3c975e70..e1bf968ada9 100644
--- a/extensions/vscode-api-tests/src/singlefolder-tests/terminal.test.ts
+++ b/extensions/vscode-api-tests/src/singlefolder-tests/terminal.test.ts
@@ -26,15 +26,18 @@ import { assertNoRpc, poll } from '../utils';
await config.update('gpuAcceleration', 'off', ConfigurationTarget.Global);
// Disable env var relaunch for tests to prevent terminals relaunching themselves
await config.update('environmentChangesRelaunch', false, ConfigurationTarget.Global);
+ await config.update('shellIntegration.enabled', false);
});
suite('Terminal', () => {
let disposables: Disposable[] = [];
- teardown(() => {
+ teardown(async () => {
assertNoRpc();
disposables.forEach(d => d.dispose());
disposables.length = 0;
+ const config = workspace.getConfiguration('terminal.integrated');
+ await config.update('shellIntegration.enabled', undefined);
});
test('sendText immediately after createTerminal should not throw', async () => {