Disable env var collection test on Windows

See #128710
This commit is contained in:
Daniel Imms
2021-07-14 17:42:34 -07:00
parent 70d4aaa57b
commit 039582c0dd

View File

@@ -6,6 +6,7 @@
import { window, Pseudoterminal, EventEmitter, TerminalDimensions, workspace, ConfigurationTarget, Disposable, UIKind, env, EnvironmentVariableMutatorType, EnvironmentVariableMutator, extensions, ExtensionContext, TerminalOptions, ExtensionTerminalOptions, Terminal } from 'vscode';
import { doesNotThrow, equal, deepEqual, throws, strictEqual } from 'assert';
import { assertNoRpc } from '../utils';
import * as os from 'os';
// Disable terminal tests:
// - Web https://github.com/microsoft/vscode/issues/92826
@@ -669,7 +670,8 @@ import { assertNoRpc } from '../utils';
});
suite('environmentVariableCollection', () => {
test('should have collection variables apply to terminals immediately after setting', (done) => {
// https://github.com/microsoft/vscode/issues/128710
(os.platform() === 'win32' ? test.skip : test)('should have collection variables apply to terminals immediately after setting', (done) => {
// Text to match on before passing the test
const expectedText = [
'~a2~',