mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 16:57:46 +00:00
Stop extension MCPs from hopping into settings. (#1026)
This commit is contained in:
committed by
GitHub
parent
bb67d31739
commit
a2fe3d2ad0
@@ -72,7 +72,7 @@ describe('loadExtensions', () => {
|
||||
'ext1',
|
||||
'1.0.0',
|
||||
false,
|
||||
'my-context.md',
|
||||
'my-context-file.md',
|
||||
);
|
||||
|
||||
const extensions = loadExtensions(tempWorkspaceDir);
|
||||
@@ -80,7 +80,7 @@ describe('loadExtensions', () => {
|
||||
expect(extensions).toHaveLength(1);
|
||||
const ext1 = extensions.find((e) => e.config.name === 'ext1');
|
||||
expect(ext1?.contextFiles).toEqual([
|
||||
path.join(workspaceExtensionsDir, 'ext1', 'my-context.md'),
|
||||
path.join(workspaceExtensionsDir, 'ext1', 'my-context-file.md'),
|
||||
]);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user