mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-24 01:39:53 +02:00
#931 Aligning code standard
This commit is contained in:
@@ -1,15 +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')
|
||||
})
|
||||
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 () {
|
||||
it('should handle an info definition', function() {
|
||||
var str = `info
|
||||
showInfo`
|
||||
showInfo`;
|
||||
|
||||
ex.parse(str)
|
||||
})
|
||||
})
|
||||
ex.parse(str);
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user