Remove dot graph

This commit is contained in:
Tyler Long
2018-03-13 15:14:43 +08:00
parent 9b65abe76a
commit 9176237361
7 changed files with 4 additions and 1054 deletions

View File

@@ -213,23 +213,5 @@ describe('when using mermaid and ', function () {
'end'
expect(() => mermaid.parse(text)).toThrow()
})
it('it should not throw for a valid dot definition', function () {
const text = 'digraph\n' +
'{\n' +
' a -> b -> c -- d -> e;\n' +
' a -- e;\n' +
'}'
expect(() => mermaid.parse(text)).not.toThrow()
})
it('it should throw for an invalid dot definition', function () {
const text = 'digraph\n' +
'{\n' +
'a -:> b -> c -- d -> e;\n' +
'a -- e;\n' +
'}'
expect(() => mermaid.parse(text)).toThrow()
})
})
})