提交 4683c393 编写于 作者: D Daniel Imms

Include env.shell in api tests

上级 931b27d8
......@@ -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 () {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册