Fix mindmap import

This commit is contained in:
Sidharth Vinod 2022-09-07 11:27:20 +05:30
parent 004ea9872b
commit 766e111ac1
No known key found for this signature in database
GPG Key ID: FB5CCD378D3907CD

View File

@ -1,10 +1,11 @@
import * as mindmapDB from './mindmapDb';
import { parser } from './parser/mindmap';
describe('when parsing a mindmap ', function () {
let mindmap;
beforeEach(function () {
mindmap = require('./parser/mindmap').parser;
mindmap.yy = require('./mindmapDb');
mindmap = parser;
mindmap.yy = mindmapDB;
mindmap.yy.clear();
});
describe('hiearchy', function () {