mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-22 00:40:22 +02:00
#1295 Re-enabling state diagram tests
This commit is contained in:
@@ -30,8 +30,13 @@ const getRootDocV2 = () => {
|
||||
return rootDoc;
|
||||
};
|
||||
|
||||
const extract = doc => {
|
||||
const extract = root => {
|
||||
// const res = { states: [], relations: [] };
|
||||
let doc = root.doc;
|
||||
if (!doc) {
|
||||
doc = root;
|
||||
}
|
||||
logger.info(root.doc);
|
||||
clear();
|
||||
|
||||
doc.forEach(item => {
|
||||
|
Reference in New Issue
Block a user