mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
164b9bc2cb
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.