test(shared): buildMainchainSummary + 4 个 workbench route/hook 补 119 个单元测试(Lane D #1764 第十批) - #1779
Conversation
|
Warning Review limit reached
Next review available in: 12 minutes Limit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?Wait for the limit to reset, then comment An organization admin can change what happens after included review limits in Billing. How do review limits work?CodeRabbit enforces per-developer PR review limits within each organization. For paid Pro and Pro+ reviews, CodeRabbit uses a developer's included PR review attempts over the past 7 days to set the current hourly allowance. At typical activity levels, the full plan allowance applies. Higher sustained activity can lower the allowance until earlier attempts leave the 7-day window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (5)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
11e5a3b to
01067cc
Compare
…个单元测试(Lane D #1764 第十批) - mainchain/buildMainchainSummary.ts:+53(纯逻辑,9 态空输入/平台 surface/label 回退链/计数矩阵) - useWorkbenchAgentsRoute/useWorkbenchDocsRoute:+29(renderHook 模式,guard/状态快照/草稿语义) - useWorkbenchPanelLayout/useWorkbenchProfileChrome:+37(localStorage 恢复/拖拽阈值/DM 分支/头像计划) 不改任何产品代码。Lane D #1764 Co-authored-by: Cursor <cursor@vectorcontrol.tech>
01067cc to
2262de3
Compare
Summary
延续 #1765–#1778,落地 Lane D 前端测试补债 (#1764) 第十批:给 1 个纯逻辑模块 + 4 个 workbench hook 补 119 个单元测试。不改任何产品代码。
为什么选它
mainchain/buildMainchainSummary.ts(176 行):mainchain 摘要构建纯逻辑,此前零覆盖。useWorkbenchAgentsRoute/useWorkbenchDocsRoute:与既有 contacts/projects route 测试同模式,补齐 route 层。useWorkbenchPanelLayout/useWorkbenchProfileChrome:面板布局与 profile chrome 交互状态,此前零覆盖。覆盖范围
Test plan
vitest run新文件 — 119/119 通过tsc --noEmit全包 0 错误关联