Files
mermaid/packages/mermaid-example-diagram/src/exampleDiagram.spec.js
Knut Sveidqvist 766bdde46b Fixed sample test
2022-09-28 17:53:01 +02:00

17 lines
340 B
JavaScript

import { parser } from './parser/exampleDiagram';
import db from './exampleDiagramDb';
describe('when parsing an info graph it', function () {
let ex;
beforeEach(function () {
ex = parser;
ex.yy = db;
});
it('should handle an info definition', function () {
let str = `info
showInfo`;
ex.parse(str);
});
});