From e443096325f8e399e2b479f87cd20036cc0819cd Mon Sep 17 00:00:00 2001 From: Jeffery Date: Mon, 22 Jun 2026 15:36:08 +0000 Subject: [PATCH] =?UTF-8?q?test(comments=20review):=20=E9=A9=97=E8=AD=89?= =?UTF-8?q?=20Review=20comments=20=E4=BE=9D=E5=9A=B4=E9=87=8D=E5=BA=A6?= =?UTF-8?q?=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/comments.test.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/comments.test.js b/app/comments.test.js index c0ffab4..f413765 100644 --- a/app/comments.test.js +++ b/app/comments.test.js @@ -208,6 +208,10 @@ describe('postFindingsReview', () => { reviewCalls[0].comments.map(c => c.path), ['app/a.js', 'app/b.js', 'app/c.js'], ); + assert.deepEqual( + reviewCalls[0].comments.map(c => c.body.match(/嚴重等級\*\*:(.+)/)?.[1]), + ['🔴 嚴重', '🟡 警告', '🔵 建議'], + ); assert.deepEqual( reviewCalls[0].comments.map(c => c.new_position), [10, 20, 30],