Disable relaunch in tests

This commit is contained in:
Daniel Imms
2021-03-05 17:51:34 -08:00
parent 755fae50ab
commit 02a5d5925b
4 changed files with 17 additions and 1 deletions

View File

@@ -25,6 +25,8 @@ import { assertNoRpc } from '../utils';
await config.update('showExitAlert', false, ConfigurationTarget.Global);
// Canvas may cause problems when running in a container
await config.update('rendererType', 'dom', ConfigurationTarget.Global);
// Disable env var relaunch for tests to prevent terminals relaunching themselves
await config.update('environmentChangesRelaunch', false, ConfigurationTarget.Global);
});
suite('Terminal', () => {