test: update local path preflight expectations for new enforcement string

This commit is contained in:
2026-05-06 12:20:23 +09:00
parent 60b46986e1
commit 0c9def0241
+1 -1
View File
@@ -241,7 +241,7 @@ describe('local project path preflight', () => {
const answer = '프로젝트에 대한 지식을 만들고 싶다면, 먼저 해당 프로젝트의 핵심 파일이나 구조를 저에게 제공해 주셔야 합니다. 실제 구현 근거 없이는 유용한 지식을 만들 수 없습니다.';
const fixed = agent.enforceLocalPathReviewAnswer(answer, 'Access: succeeded\nPriority file previews:\n### package.json');
expect(fixed).toContain('프로젝트 지식을 만들 수 있습니다');
expect(fixed).toContain('액션 태그를 통해 스스로 필요한 코드를 열어보겠습니다');
expect(fixed).not.toContain('핵심 파일이나 구조를 저에게 제공');
expect(fixed).not.toContain('실제 구현 근거 없이는');
});