mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-12 20:09:46 +02:00
Fixed sample test
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
import { parser } from './parser/info';
|
import { parser } from './parser/exampleDiagram';
|
||||||
import infoDb from './infoDb';
|
import db from './exampleDiagramDb';
|
||||||
describe('when parsing an info graph it', function () {
|
describe('when parsing an info graph it', function () {
|
||||||
let ex;
|
let ex;
|
||||||
beforeEach(function () {
|
beforeEach(function () {
|
||||||
ex = parser;
|
ex = parser;
|
||||||
ex.yy = infoDb;
|
ex.yy = db;
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should handle an info definition', function () {
|
it('should handle an info definition', function () {
|
||||||
|
Reference in New Issue
Block a user