mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-26 02:39:41 +02:00

vitest is throwing an error, since these types are used in packages/mermaid/src/utils.ts, but are not being mocked. I've added all the curve types I needed to make Vitest happy. At some point, we may need to improve these mocks, since in d3, they have the type CurveFactory, not string.