mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-25 07:04:37 +01:00
Using diagram api to add gitGraph
This commit is contained in:
14
src/diagrams/mindmap/info.spc.js
Normal file
14
src/diagrams/mindmap/info.spc.js
Normal file
@@ -0,0 +1,14 @@
|
||||
describe('when parsing an info graph it', function () {
|
||||
var ex;
|
||||
beforeEach(function () {
|
||||
ex = require('./parser/info').parser;
|
||||
ex.yy = require('./infoDb');
|
||||
});
|
||||
|
||||
it('should handle an info definition', function () {
|
||||
var str = `info
|
||||
showInfo`;
|
||||
|
||||
ex.parse(str);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user