mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-16 02:34:41 +01:00
Fix typos in test cases
This commit is contained in:
@@ -33,7 +33,7 @@ describe('when parsing ', function () {
|
|||||||
expect(subgraph.title).toBe('One')
|
expect(subgraph.title).toBe('One')
|
||||||
})
|
})
|
||||||
|
|
||||||
it('should handle angle bracket ' > ' as direction LR', function () {
|
it("should handle angle bracket ' > ' as direction LR", function () {
|
||||||
const res = flow.parser.parse('graph >;A-->B;')
|
const res = flow.parser.parse('graph >;A-->B;')
|
||||||
|
|
||||||
const vert = flow.parser.yy.getVertices()
|
const vert = flow.parser.yy.getVertices()
|
||||||
@@ -51,7 +51,7 @@ describe('when parsing ', function () {
|
|||||||
expect(edges[0].text).toBe('')
|
expect(edges[0].text).toBe('')
|
||||||
})
|
})
|
||||||
|
|
||||||
it('should handle angle bracket ' < ' as direction RL', function () {
|
it("should handle angle bracket ' < ' as direction RL", function () {
|
||||||
const res = flow.parser.parse('graph <;A-->B;')
|
const res = flow.parser.parse('graph <;A-->B;')
|
||||||
|
|
||||||
const vert = flow.parser.yy.getVertices()
|
const vert = flow.parser.yy.getVertices()
|
||||||
@@ -69,7 +69,7 @@ describe('when parsing ', function () {
|
|||||||
expect(edges[0].text).toBe('')
|
expect(edges[0].text).toBe('')
|
||||||
})
|
})
|
||||||
|
|
||||||
it('should handle caret ' ^ ' as direction BT', function () {
|
it("should handle caret ' ^ ' as direction BT", function () {
|
||||||
const res = flow.parser.parse('graph ^;A-->B;')
|
const res = flow.parser.parse('graph ^;A-->B;')
|
||||||
|
|
||||||
const vert = flow.parser.yy.getVertices()
|
const vert = flow.parser.yy.getVertices()
|
||||||
|
|||||||
Reference in New Issue
Block a user