mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-26 01:14:09 +02:00
16 lines
312 B
JavaScript
16 lines
312 B
JavaScript
/* eslint-env jasmine */
|
|
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)
|
|
})
|
|
})
|