mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-21 06:53:17 +08:00
Fix mindmap import
This commit is contained in:
parent
004ea9872b
commit
766e111ac1
@ -1,10 +1,11 @@
|
|||||||
import * as mindmapDB from './mindmapDb';
|
import * as mindmapDB from './mindmapDb';
|
||||||
|
import { parser } from './parser/mindmap';
|
||||||
|
|
||||||
describe('when parsing a mindmap ', function () {
|
describe('when parsing a mindmap ', function () {
|
||||||
let mindmap;
|
let mindmap;
|
||||||
beforeEach(function () {
|
beforeEach(function () {
|
||||||
mindmap = require('./parser/mindmap').parser;
|
mindmap = parser;
|
||||||
mindmap.yy = require('./mindmapDb');
|
mindmap.yy = mindmapDB;
|
||||||
mindmap.yy.clear();
|
mindmap.yy.clear();
|
||||||
});
|
});
|
||||||
describe('hiearchy', function () {
|
describe('hiearchy', function () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user