mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-24 01:39:53 +02:00
15 lines
295 B
JavaScript
15 lines
295 B
JavaScript
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);
|
|
});
|
|
});
|