mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-23 17:29:54 +02:00
17 lines
328 B
JavaScript
17 lines
328 B
JavaScript
import { parser } from './parser/info';
|
|
import infoDb from './infoDb';
|
|
describe('when parsing an info graph it', function () {
|
|
let ex;
|
|
beforeEach(function () {
|
|
ex = parser;
|
|
ex.yy = infoDb;
|
|
});
|
|
|
|
it('should handle an info definition', function () {
|
|
let str = `info
|
|
showInfo`;
|
|
|
|
ex.parse(str);
|
|
});
|
|
});
|