review fixes

This commit is contained in:
Aakansha Doshi
2023-11-27 16:11:25 +05:30
parent 282da45d0e
commit 4dbfa2f0d3
2 changed files with 2 additions and 6 deletions

View File

@@ -1539,11 +1539,7 @@
class I bugged_node
</pre>
<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>
<script type="module">

View File

@@ -84,7 +84,7 @@ Expecting 'TXT', got 'NEWLINE'"
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(
`flowchart LR
%% this is a comment A -- text --> B{node}