mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 09:08:53 +01:00
Include env.shell in api tests
This commit is contained in:
@@ -14,6 +14,7 @@ suite('env-namespace', () => {
|
||||
assert.equal(typeof env.appName, 'string');
|
||||
assert.equal(typeof env.machineId, 'string');
|
||||
assert.equal(typeof env.sessionId, 'string');
|
||||
assert.equal(typeof env.shell, 'string');
|
||||
});
|
||||
|
||||
test('env is readonly', function () {
|
||||
@@ -22,6 +23,7 @@ suite('env-namespace', () => {
|
||||
assert.throws(() => (env as any).appName = '234');
|
||||
assert.throws(() => (env as any).machineId = '234');
|
||||
assert.throws(() => (env as any).sessionId = '234');
|
||||
assert.throws(() => (env as any).shell = '234');
|
||||
});
|
||||
|
||||
test('env.remoteName', function () {
|
||||
|
||||
Reference in New Issue
Block a user