From 9bdcdadfa5f34f1f1268ce72abc210db688b6197 Mon Sep 17 00:00:00 2001 From: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Tue, 21 Jun 2022 10:32:35 -0700 Subject: [PATCH] Clean settings between suites --- .../areas/terminal/terminal-shellIntegration.test.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/test/smoke/src/areas/terminal/terminal-shellIntegration.test.ts b/test/smoke/src/areas/terminal/terminal-shellIntegration.test.ts index 213e856b2fa..b0f4425a162 100644 --- a/test/smoke/src/areas/terminal/terminal-shellIntegration.test.ts +++ b/test/smoke/src/areas/terminal/terminal-shellIntegration.test.ts @@ -22,10 +22,6 @@ export function setup() { await app.workbench.terminal.runCommand(TerminalCommandId.KillAll); }); - after(async function () { - await settingsEditor.clearUserSettings(); - }); - async function createShellIntegrationProfile() { await terminal.runCommandWithValue(TerminalCommandIdWithValue.NewWithProfile, process.platform === 'win32' ? 'PowerShell' : 'bash'); } @@ -35,6 +31,9 @@ export function setup() { before(async function () { await setTerminalTestSettings(app, [['terminal.integrated.shellIntegration.enabled', 'true']]); }); + after(async function () { + await settingsEditor.clearUserSettings(); + }); describe('Decorations', function () { describe('Should show default icons', function () { @@ -76,6 +75,9 @@ export function setup() { before(async function () { await setTerminalTestSettings(app); }); + after(async function () { + await settingsEditor.clearUserSettings(); + }); beforeEach(async function () { // Create the simplest system profile to get as little process interaction as possible await terminal.createTerminal();