Skip to content

Commit 630debc

Browse files
author
Chris Funderburg
committed
fix: correct make build issue
1 parent 4c3f3ac commit 630debc

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

client/src/components/Preview.test.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,12 @@ describe("Preview", () => {
7474
vi.mocked(mermaid.render).mockResolvedValue({
7575
svg: '<svg data-testid="mmd"><g><text>OK</text></g></svg>',
7676
bindFunctions: undefined,
77-
} as unknown as { svg: string; bindFunctions?: (element: Element) => void });
77+
diagramType: "flowchart",
78+
} as unknown as {
79+
svg: string;
80+
bindFunctions?: (element: Element) => void;
81+
diagramType: string;
82+
});
7883

7984
document.documentElement.setAttribute("data-theme", "dark");
8085

0 commit comments

Comments
 (0)