mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-19 23:39:50 +02:00
#937 Handling direction keywords in node ids
This commit is contained in:
@@ -181,6 +181,10 @@ describe('when using mermaid and ', function() {
|
||||
});
|
||||
|
||||
describe('checking validity of input ', function() {
|
||||
beforeEach(function() {
|
||||
flowParser.parser.yy = flowDb;
|
||||
flowDb.clear();
|
||||
});
|
||||
it('it should throw for an invalid definiton', function() {
|
||||
expect(() => mermaid.parse('this is not a mermaid diagram definition')).toThrow();
|
||||
});
|
||||
|
Reference in New Issue
Block a user