web - fix single folder api tests

This commit is contained in:
Benjamin Pasero
2019-11-04 14:19:32 +01:00
parent 3f1f36333d
commit 8e809b0230
2 changed files with 4 additions and 2 deletions

View File

@@ -38,7 +38,9 @@ suite('env-namespace', () => {
} else if (typeof remoteName === 'string') {
// running in remote, so we only expect workspace extensions
assert.ok(knownWorkspaceExtension);
assert.ok(!knownUiExtension); // we currently can only access extensions that run on same host
if (env.uiKind === UIKind.Desktop) {
assert.ok(!knownUiExtension); // we currently can only access extensions that run on same host
}
assert.equal(ExtensionKind.Workspace, knownWorkspaceExtension!.extensionKind);
} else {
assert.fail();