mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-22 01:36:43 +02:00
Update packages/mermaid/src/mermaidAPI.spec.ts
Co-authored-by: Alois Klink <alois@aloisklink.com>
This commit is contained in:
@@ -833,7 +833,7 @@ graph TD;A--x|text including URL space|B;`)
|
|||||||
expect(diagram.type).toBe('flowchart-v2');
|
expect(diagram.type).toBe('flowchart-v2');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should not fuckup db when rendering different diagrams', async () => {
|
it('should not modify db when rendering different diagrams', async () => {
|
||||||
const flowDiagram1 = await mermaidAPI.getDiagramFromText(
|
const flowDiagram1 = await mermaidAPI.getDiagramFromText(
|
||||||
`flowchart LR
|
`flowchart LR
|
||||||
%% This is a comment A -- text --> B{node}
|
%% This is a comment A -- text --> B{node}
|
||||||
|
Reference in New Issue
Block a user