阶段七:完成AccountList React feature化与账号状态边界

This commit is contained in:
Christ committed 2026-08-15 00:25:49 +08:00
1 parent c7c7023ad4
commit 03f108639d
20 files changed
+1277 -1320

No files matched your search

+4 -1
View File
@@ -171,7 +171,10 @@ describe('frontend navigation routing', () => {
});
test('account editor exposes password-login refresh and never renders its verification URL', () => {
const accounts = readFrontendFile('components/AccountList.tsx');
const accounts = [
readFrontendFile('components/AccountList.tsx'),
readFrontendFile('app/features/accounts/components/AccountEditModal.tsx'),
].join('\n');
expect(accounts).toContain('passwordLogin({');
expect(accounts).toContain('checkPasswordLoginStatus(sessionId, controller.signal)');
expect(accounts).toContain('密码登录刷新授权');