Skip to content

Commit

Permalink
remove renderGraph
Browse files Browse the repository at this point in the history
  • Loading branch information
Yokozuna59 committed Feb 3, 2024
1 parent 7ae22a2 commit bfa34b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cypress/integration/rendering/classDiagram.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ describe('Class diagram', () => {
});

it('should handle notes with anchor tag having target attribute', () => {
renderGraph(
imgSnapshotTest(
`classDiagram
class test { }
note for test "<a href='https://mermaid.js.org/' target="_blank"><code>note about mermaid</code></a>"`
Expand Down
4 changes: 2 additions & 2 deletions cypress/integration/rendering/sequencediagram.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@ context('Sequence diagram', () => {
});
context('links', () => {
it('should support actor links', () => {
renderGraph(
imgSnapshotTest(
`
sequenceDiagram
link Alice: Dashboard @ https://dashboard.contoso.com/alice
Expand Down Expand Up @@ -954,7 +954,7 @@ context('Sequence diagram', () => {
return false;
});

renderGraph([
imgSnapshotTest([
`sequenceDiagram
Alice->>Bob: Hello Bob, how are you ?
Bob->>Alice: Fine, thank you. And you?
Expand Down

0 comments on commit bfa34b8

Please sign in to comment.