mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 11:38:51 +01:00
Remove extra type
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user