Skip to content

Commit 9bdcdad

Browse files
committed
Clean settings between suites
1 parent bcb2c6f commit 9bdcdad

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

test/smoke/src/areas/terminal/terminal-shellIntegration.test.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@ export function setup() {
2222
await app.workbench.terminal.runCommand(TerminalCommandId.KillAll);
2323
});
2424

25-
after(async function () {
26-
await settingsEditor.clearUserSettings();
27-
});
28-
2925
async function createShellIntegrationProfile() {
3026
await terminal.runCommandWithValue(TerminalCommandIdWithValue.NewWithProfile, process.platform === 'win32' ? 'PowerShell' : 'bash');
3127
}
@@ -35,6 +31,9 @@ export function setup() {
3531
before(async function () {
3632
await setTerminalTestSettings(app, [['terminal.integrated.shellIntegration.enabled', 'true']]);
3733
});
34+
after(async function () {
35+
await settingsEditor.clearUserSettings();
36+
});
3837
describe('Decorations', function () {
3938
describe('Should show default icons', function () {
4039

@@ -76,6 +75,9 @@ export function setup() {
7675
before(async function () {
7776
await setTerminalTestSettings(app);
7877
});
78+
after(async function () {
79+
await settingsEditor.clearUserSettings();
80+
});
7981
beforeEach(async function () {
8082
// Create the simplest system profile to get as little process interaction as possible
8183
await terminal.createTerminal();

0 commit comments

Comments
 (0)