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