mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-29 04:00:36 +00:00
Add prompt to migrate workspace extensions (#7065)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
parent
be48414518
commit
c79f145b37
8 changed files with 377 additions and 21 deletions
|
|
@ -122,6 +122,10 @@ describe('Settings Loading and Merging', () => {
|
|||
mcpServers: {},
|
||||
includeDirectories: [],
|
||||
chatCompression: {},
|
||||
extensions: {
|
||||
disabled: [],
|
||||
workspacesWithMigrationNudge: [],
|
||||
},
|
||||
});
|
||||
expect(settings.errors.length).toBe(0);
|
||||
});
|
||||
|
|
@ -157,6 +161,10 @@ describe('Settings Loading and Merging', () => {
|
|||
mcpServers: {},
|
||||
includeDirectories: [],
|
||||
chatCompression: {},
|
||||
extensions: {
|
||||
disabled: [],
|
||||
workspacesWithMigrationNudge: [],
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
|
|
@ -192,6 +200,10 @@ describe('Settings Loading and Merging', () => {
|
|||
mcpServers: {},
|
||||
includeDirectories: [],
|
||||
chatCompression: {},
|
||||
extensions: {
|
||||
disabled: [],
|
||||
workspacesWithMigrationNudge: [],
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
|
|
@ -225,6 +237,10 @@ describe('Settings Loading and Merging', () => {
|
|||
mcpServers: {},
|
||||
includeDirectories: [],
|
||||
chatCompression: {},
|
||||
extensions: {
|
||||
disabled: [],
|
||||
workspacesWithMigrationNudge: [],
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
|
|
@ -264,6 +280,10 @@ describe('Settings Loading and Merging', () => {
|
|||
mcpServers: {},
|
||||
includeDirectories: [],
|
||||
chatCompression: {},
|
||||
extensions: {
|
||||
disabled: [],
|
||||
workspacesWithMigrationNudge: [],
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
|
|
@ -315,6 +335,10 @@ describe('Settings Loading and Merging', () => {
|
|||
mcpServers: {},
|
||||
includeDirectories: [],
|
||||
chatCompression: {},
|
||||
extensions: {
|
||||
disabled: [],
|
||||
workspacesWithMigrationNudge: [],
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
|
|
@ -377,6 +401,10 @@ describe('Settings Loading and Merging', () => {
|
|||
'/system/dir',
|
||||
],
|
||||
chatCompression: {},
|
||||
extensions: {
|
||||
disabled: [],
|
||||
workspacesWithMigrationNudge: [],
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
|
|
@ -537,6 +565,7 @@ describe('Settings Loading and Merging', () => {
|
|||
);
|
||||
|
||||
const settings = loadSettings(MOCK_WORKSPACE_DIR);
|
||||
|
||||
expect(settings.user.settings.excludedProjectEnvVars).toEqual([
|
||||
'DEBUG',
|
||||
'NODE_ENV',
|
||||
|
|
@ -944,6 +973,10 @@ describe('Settings Loading and Merging', () => {
|
|||
mcpServers: {},
|
||||
includeDirectories: [],
|
||||
chatCompression: {},
|
||||
extensions: {
|
||||
disabled: [],
|
||||
workspacesWithMigrationNudge: [],
|
||||
},
|
||||
});
|
||||
|
||||
// Check that error objects are populated in settings.errors
|
||||
|
|
@ -1316,6 +1349,10 @@ describe('Settings Loading and Merging', () => {
|
|||
mcpServers: {},
|
||||
includeDirectories: [],
|
||||
chatCompression: {},
|
||||
extensions: {
|
||||
disabled: [],
|
||||
workspacesWithMigrationNudge: [],
|
||||
},
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue