fix(test): update sisyphus-orchestrator test to expect preserved subagent response
The implementation preserves original subagent responses for debugging failed tasks. Updated test assertion from .not.toContain() to .toContain() to match this behavior.
This commit is contained in:
@@ -175,8 +175,8 @@ describe("sisyphus-orchestrator hook", () => {
|
||||
output
|
||||
)
|
||||
|
||||
// #then - output should be transformed (original output replaced)
|
||||
expect(output.output).not.toContain("Task completed successfully")
|
||||
// #then - output should be transformed (original output preserved for debugging)
|
||||
expect(output.output).toContain("Task completed successfully")
|
||||
expect(output.output).toContain("SUBAGENT WORK COMPLETED")
|
||||
expect(output.output).toContain("test-plan")
|
||||
expect(output.output).toContain("SUBAGENTS LIE")
|
||||
|
||||
Reference in New Issue
Block a user