mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-12 22:08:04 -05:00
Clean settings between suites
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user