fix: lint & ci issues

This commit is contained in:
mingholy.lmh 2026-01-06 15:55:02 +08:00
parent db12796df5
commit 90855c93d1
7 changed files with 78 additions and 40 deletions

View file

@ -182,12 +182,12 @@ describe('<ModelDialog />', () => {
},
);
expect(mockSettings.setValue).toHaveBeenCalledWith(
SettingScope.Workspace,
SettingScope.User,
'model.name',
MAINLINE_CODER,
);
expect(mockSettings.setValue).toHaveBeenCalledWith(
SettingScope.Workspace,
SettingScope.User,
'security.auth.selectedType',
AuthType.QWEN_OAUTH,
);
@ -242,12 +242,12 @@ describe('<ModelDialog />', () => {
},
);
expect(mockSettings.setValue).toHaveBeenCalledWith(
SettingScope.Workspace,
SettingScope.User,
'model.name',
MAINLINE_CODER,
);
expect(mockSettings.setValue).toHaveBeenCalledWith(
SettingScope.Workspace,
SettingScope.User,
'security.auth.selectedType',
AuthType.QWEN_OAUTH,
);