fix(test): update plugin tests to use getAgentListDisplayName for agent assertions

- Update plugin-interface.test.ts expectations to use getAgentListDisplayName
- Update chat-message.test.ts expectations for agent display names
- Add smoke test for quoted plan name resolution in chat-message.test.ts
- Aligns test expectations with proper agent name formatting

🤖 Generated with OhMyOpenCode assistance
This commit is contained in:
YeonGyu-Kim
2026-04-07 19:05:14 +09:00
parent 0452343f2b
commit 8f129eb4ad
2 changed files with 30 additions and 2 deletions
+1 -1
View File
@@ -165,7 +165,7 @@ describe("createPluginInterface - command.execute.before", () => {
)
// then
expect(output.message.agent).toBe("atlas")
expect(output.message.agent).toBe(getAgentListDisplayName("atlas"))
expect(getSessionAgent("ses-command-atlas")).toBe("atlas")
expect(readBoulderState(testDir)?.agent).toBe("atlas")
})