fix(ci): repair ai review fallback scope script

This commit is contained in:
Tam Nhu Tran
2026-04-01 20:18:28 -04:00
parent 0883b9a8fe
commit 09276518a7
2 changed files with 65 additions and 60 deletions
@@ -32,5 +32,10 @@ describe('ai-review workflow', () => {
expect(claudeReviewStep?.with?.path_to_claude_code_executable).toBe(
'${{ steps.toolchain.outputs.claude_path }}'
);
const promptStep = steps.find((step) => step.id === 'review-prompt');
expect(promptStep).toBeDefined();
expect(promptStep?.run).toContain("printf '%s\\n' \\");
expect(promptStep?.run).not.toContain("| sed 's/^ //'");
});
});