mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-19 15:30:03 +02:00
Remove dot graph
This commit is contained in:
@@ -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()
|
||||
})
|
||||
})
|
||||
})
|
||||
|
Reference in New Issue
Block a user