feat: 移除贡献模式确认弹窗,简化进入流程,更新相关测试

This commit is contained in:
QLHazyCoder
2026-04-20 01:18:59 +08:00
parent 0d0cf4b2af
commit 95750056ad
6 changed files with 26 additions and 233 deletions
+3 -1
View File
@@ -287,7 +287,9 @@ test('contribution mode manager enters mode, starts main auto flow, polls contri
isModeSwitchBlocked() {
return blocked;
},
openConfirmModal: async () => true,
openConfirmModal: async () => {
throw new Error('should not ask for confirmation before entering contribution mode');
},
openExternalUrl(url) {
openedUrls.push(url);
},