mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-21 16:29:40 +02:00
review fixes
This commit is contained in:
@@ -1539,11 +1539,7 @@
|
|||||||
class I bugged_node
|
class I bugged_node
|
||||||
</pre>
|
</pre>
|
||||||
<hr />
|
<hr />
|
||||||
<pre class="mermaid">
|
|
||||||
flowchart LR
|
|
||||||
%% this is a comment A -- text --> B{node}
|
|
||||||
A -- text --> B -- text2 --> C
|
|
||||||
</pre>
|
|
||||||
<h1 id="link-clicked">Anchor for "link-clicked" test</h1>
|
<h1 id="link-clicked">Anchor for "link-clicked" test</h1>
|
||||||
|
|
||||||
<script type="module">
|
<script type="module">
|
||||||
|
@@ -84,7 +84,7 @@ Expecting 'TXT', got 'NEWLINE'"
|
|||||||
expect(messages[1].message).toBe('I fl°°9829¶ß you fl°infin¶ß times more!');
|
expect(messages[1].message).toBe('I fl°°9829¶ß you fl°infin¶ß times more!');
|
||||||
});
|
});
|
||||||
|
|
||||||
test('should clean up comments when present in diagram defination', async () => {
|
test('should clean up comments inside getDiagramFromText when present in diagram definition', async () => {
|
||||||
const diagram = await getDiagramFromText(
|
const diagram = await 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