Rename graphDb to flowDb

This commit is contained in:
Tyler Long
2018-03-12 20:52:06 +08:00
parent 964bc4dc12
commit 6f43082e38
5 changed files with 30 additions and 30 deletions

View File

@@ -1,6 +1,6 @@
/* eslint-env jasmine */
import mermaid from './mermaid'
import graphDb from './diagrams/flowchart/graphDb'
import flowDb from './diagrams/flowchart/flowDb'
import flowParser from './diagrams/flowchart/parser/flow'
import flowRenderer from './diagrams/flowchart/flowRenderer'
@@ -40,8 +40,8 @@ describe('when using mermaid and ', function () {
describe('when calling addEdges ', function () {
beforeEach(function () {
flowParser.parser.yy = graphDb
graphDb.clear()
flowParser.parser.yy = flowDb
flowDb.clear()
})
it('it should handle edges with text', function () {
flowParser.parser.parse('graph TD;A-->|text ex|B;')