Kill all terminals after each shell integration test

This commit is contained in:
Daniel Imms 2022-06-15 11:28:46 -07:00
parent 1f5dc6a572
commit e4c3bca7a2
No known key found for this signature in database
GPG key ID: E5CF412B63651C69

View file

@ -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();
});