mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-16 06:49:31 +02:00
fixed unit test
This commit is contained in:
@@ -456,7 +456,8 @@ describe('state diagram V2, ', function () {
|
|||||||
addLink: stateDb.addLink.bind(stateDb),
|
addLink: stateDb.addLink.bind(stateDb),
|
||||||
};
|
};
|
||||||
|
|
||||||
parser.parse(diagram);
|
const doc = parser.parse(diagram);
|
||||||
|
stateDb.extract(doc);
|
||||||
|
|
||||||
const links = stateDb.getLinks();
|
const links = stateDb.getLinks();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user