Files
mermaid/src/diagrams/info/info.spec.js
2022-09-02 11:44:06 +05:30

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);
});
});