mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
fix: lint errors
This commit is contained in:
@@ -30,7 +30,7 @@ describe('FolderTrustDialog', () => {
|
||||
|
||||
expect(lastFrame()).toContain('Do you trust this folder?');
|
||||
expect(lastFrame()).toContain(
|
||||
'Trusting a folder allows Gemini to execute commands it suggests.',
|
||||
'Trusting a folder allows Qwen Code to execute commands it suggests.',
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
@@ -429,7 +429,7 @@ describe('SettingsDialog', () => {
|
||||
<KeypressProvider kittyProtocolEnabled={false}>
|
||||
<SettingsDialog
|
||||
settings={settings}
|
||||
onSelect={() => { }}
|
||||
onSelect={() => {}}
|
||||
onRestartRequest={onRestartRequest}
|
||||
/>
|
||||
</KeypressProvider>,
|
||||
@@ -450,7 +450,7 @@ describe('SettingsDialog', () => {
|
||||
<KeypressProvider kittyProtocolEnabled={false}>
|
||||
<SettingsDialog
|
||||
settings={settings}
|
||||
onSelect={() => { }}
|
||||
onSelect={() => {}}
|
||||
onRestartRequest={onRestartRequest}
|
||||
/>
|
||||
</KeypressProvider>,
|
||||
@@ -973,7 +973,7 @@ describe('SettingsDialog', () => {
|
||||
<KeypressProvider kittyProtocolEnabled={false}>
|
||||
<SettingsDialog
|
||||
settings={settings}
|
||||
onSelect={() => { }}
|
||||
onSelect={() => {}}
|
||||
onRestartRequest={onRestartRequest}
|
||||
/>
|
||||
</KeypressProvider>,
|
||||
|
||||
@@ -495,8 +495,6 @@ export function KeypressProvider({
|
||||
stdin,
|
||||
setRawMode,
|
||||
kittyProtocolEnabled,
|
||||
config,
|
||||
subscribers,
|
||||
debugKeystrokeLogging,
|
||||
pasteWorkaround,
|
||||
config,
|
||||
|
||||
@@ -176,7 +176,7 @@ describe('GitService', () => {
|
||||
await service.setupShadowGitRepository();
|
||||
|
||||
const expectedConfigContent =
|
||||
'[user]\n name = Qwen Code\n email = gemini-cli@google.com\n[commit]\n gpgsign = false\n';
|
||||
'[user]\n name = Qwen Code\n email = qwen-code@qwen.ai\n[commit]\n gpgsign = false\n';
|
||||
const actualConfigContent = await fs.readFile(gitConfigPath, 'utf-8');
|
||||
expect(actualConfigContent).toBe(expectedConfigContent);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user