mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-24 17:59:39 +02:00
info diagram to show version of mermaid, bugfixes for gantt chart
This commit is contained in:
15
src/diagrams/info/info.spec.js
Normal file
15
src/diagrams/info/info.spec.js
Normal file
@@ -0,0 +1,15 @@
|
||||
/* 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)
|
||||
})
|
||||
})
|
Reference in New Issue
Block a user