mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-29 00:54:08 +01: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.