test(ai-review): 補關閉所有 comment、部分 resolve 失敗、百分比邊界與 usageSection 排版測試

This commit is contained in:
Jeffery
2026-06-23 14:58:15 +08:00
parent 0cb6ffde3e
commit 4a0f8bcc36
3 changed files with 42 additions and 0 deletions
+2
View File
@@ -303,6 +303,8 @@ describe('postFindingsReview', () => {
});
assert.doesNotMatch(reviewCalls[0].body, /AI 助理使用量/);
// usageSection 省略時,body 不應殘留多餘的尾端空白/換行
assert.equal(reviewCalls[0].body, reviewCalls[0].body.trimEnd());
});
it('separates old and new findings in default review statistics', async () => {