Remove extra type

This commit is contained in:
Matt Bierner
2022-03-17 11:56:38 -07:00
parent 7b1e01e29e
commit 989caf1849
5 changed files with 19 additions and 26 deletions

View File

@@ -32,7 +32,7 @@ suite('ExtHostWebview', () => {
test('Cannot register multiple serializers for the same view type', async () => {
const viewType = 'view.type';
const extHostWebviews = new ExtHostWebviews(rpcProtocol!, { remote: { authority: undefined, isRemote: false } }, undefined, new NullLogService(), NullApiDeprecationService);
const extHostWebviews = new ExtHostWebviews(rpcProtocol!, { authority: undefined, isRemote: false }, undefined, new NullLogService(), NullApiDeprecationService);
const extHostWebviewPanels = new ExtHostWebviewPanels(rpcProtocol!, extHostWebviews, undefined);
@@ -169,10 +169,8 @@ suite('ExtHostWebview', () => {
function createWebview(rpcProtocol: (IExtHostRpcService & IExtHostContext) | undefined, remoteAuthority: string | undefined) {
const extHostWebviews = new ExtHostWebviews(rpcProtocol!, {
remote: {
authority: remoteAuthority,
isRemote: !!remoteAuthority,
},
authority: remoteAuthority,
isRemote: !!remoteAuthority,
}, undefined, new NullLogService(), NullApiDeprecationService);
const extHostWebviewPanels = new ExtHostWebviewPanels(rpcProtocol!, extHostWebviews, undefined);