mirror of
https://github.com/can1357/oh-my-pi.git
synced 2026-10-28 08:25:38 +08:00
test(coding-agent): expect spaceless Mermaid arrows to render as edges
This commit is contained in:
1 parent
fd440d9a6d
commit
0b5c27ab24
1 file changed
+3
-1
@@ -206,7 +206,9 @@ describe("AssistantMessageComponent mermaid markdown", () => {
|
||||
|
||||
expect(TERMINAL.imageProtocol).toBeNull();
|
||||
expect(rendered).toContain("Start");
|
||||
expect(rendered).toContain("Start--");
|
||||
expect(rendered).toContain("Stop");
|
||||
expect(rendered).toMatch(/[►▼]/);
|
||||
expect(rendered).not.toContain("Start--");
|
||||
expect(rendered).not.toContain("```mermaid");
|
||||
expect(rendered).not.toContain("flowchart TD");
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user