fix(ai-review comment): 顯示審查問題原因
This commit is contained in:
@@ -68,6 +68,8 @@ describe('buildAnalysisPrompt', () => {
|
||||
it('embeds the role name in the JSON contract and persona/body', () => {
|
||||
const prompt = buildAnalysisPrompt(parseRoleFile(SAMPLE));
|
||||
assert.match(prompt, /"role": "Tester"/);
|
||||
assert.match(prompt, /"problem":/);
|
||||
assert.match(prompt, /有問題的原因/);
|
||||
assert.match(prompt, /冷靜嚴謹/);
|
||||
assert.match(prompt, /審查重點:邊界與空值/);
|
||||
assert.match(prompt, /只回傳 JSON 陣列/);
|
||||
|
||||
Reference in New Issue
Block a user