mirror of
https://github.com/Microsoft/vscode
synced 2024-10-05 19:02:54 +00:00
Kill all terminals after each shell integration test
This commit is contained in:
parent
1f5dc6a572
commit
e4c3bca7a2
|
@ -3,7 +3,7 @@
|
|||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import { Application, Terminal, SettingsEditor, TerminalCommandIdWithValue } from '../../../../automation';
|
||||
import { Application, Terminal, SettingsEditor, TerminalCommandIdWithValue, TerminalCommandId } from '../../../../automation';
|
||||
import { setTerminalTestSettings } from './terminal-helpers';
|
||||
|
||||
export function setup() {
|
||||
|
@ -21,6 +21,7 @@ export function setup() {
|
|||
});
|
||||
|
||||
after(async function () {
|
||||
await app.workbench.terminal.runCommand(TerminalCommandId.KillAll);
|
||||
await settingsEditor.clearUserSettings();
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue