豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Commit 9a40766

Browse files
committed
fix test
1 parent 0fc167c commit 9a40766

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/platform/test/node/extensionContext.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ function constructGlobalStoragePath(globalStoragePath: string): URI {
6464
export class MockExtensionContext implements BrandedService {
6565
_serviceBrand = undefined;
6666
extension = { id: 'GitHub.copilot-chat' } as any;
67+
extensionUri = URI.from({ scheme: 'file', path: '/mock-extension' });
6768
extensionMode = ExtensionMode.Test;
6869
subscriptions = [];
6970
globalStorageUri: Uri | undefined;

0 commit comments

Comments
 (0)