Update packages/mermaid/src/mermaidAPI.spec.ts

Co-authored-by: Alois Klink <alois@aloisklink.com>
This commit is contained in:
Saurabh Gore 2025-01-06 16:37:51 +05:30 committed by GitHub
parent f5bae98098
commit 3cad7984a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -834,7 +834,7 @@ graph TD;A--x|text including URL space|B;`)
});
it('should not fuckup db when rendering different diagrams', async () => {
const flwoDiagram1 = await mermaidAPI.getDiagramFromText(
const flowDiagram1 = await mermaidAPI.getDiagramFromText(
`flowchart LR
%% This is a comment A -- text --> B{node}
A -- text --> B -- text2 --> C`