We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c3f3ac commit 630debcCopy full SHA for 630debc
1 file changed
client/src/components/Preview.test.tsx
@@ -74,7 +74,12 @@ describe("Preview", () => {
74
vi.mocked(mermaid.render).mockResolvedValue({
75
svg: '<svg data-testid="mmd"><g><text>OK</text></g></svg>',
76
bindFunctions: undefined,
77
- } as unknown as { svg: string; bindFunctions?: (element: Element) => void });
+ diagramType: "flowchart",
78
+ } as unknown as {
79
+ svg: string;
80
+ bindFunctions?: (element: Element) => void;
81
+ diagramType: string;
82
+ });
83
84
document.documentElement.setAttribute("data-theme", "dark");
85
0 commit comments