mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-06 00:56:42 +02:00
fixed unit test
This commit is contained in:
@@ -451,11 +451,6 @@ describe('state diagram V2, ', function () {
|
|||||||
|
|
||||||
stateDb.clear();
|
stateDb.clear();
|
||||||
|
|
||||||
parser.yy = {
|
|
||||||
...stateDb,
|
|
||||||
addLink: stateDb.addLink.bind(stateDb),
|
|
||||||
};
|
|
||||||
|
|
||||||
const doc = parser.parse(diagram);
|
const doc = parser.parse(diagram);
|
||||||
stateDb.extract(doc);
|
stateDb.extract(doc);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user