mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-21 00:09:51 +02:00
Fix for broken Flowchart test cases
This commit is contained in:
@@ -10,6 +10,7 @@ describe('[Style] when parsing', () => {
|
|||||||
beforeEach(function() {
|
beforeEach(function() {
|
||||||
flow.parser.yy = flowDb;
|
flow.parser.yy = flowDb;
|
||||||
flow.parser.yy.clear();
|
flow.parser.yy.clear();
|
||||||
|
flow.parser.yy.setGen('gen-2');
|
||||||
});
|
});
|
||||||
|
|
||||||
// log.debug(flow.parser.parse('graph TD;style Q background:#fff;'));
|
// log.debug(flow.parser.parse('graph TD;style Q background:#fff;'));
|
||||||
|
@@ -10,6 +10,7 @@ describe('when parsing flowcharts', function() {
|
|||||||
beforeEach(function() {
|
beforeEach(function() {
|
||||||
flow.parser.yy = flowDb;
|
flow.parser.yy = flowDb;
|
||||||
flow.parser.yy.clear();
|
flow.parser.yy.clear();
|
||||||
|
flow.parser.yy.setGen('gen-2');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should handle chaining of vertices', function() {
|
it('should handle chaining of vertices', function() {
|
||||||
|
Reference in New Issue
Block a user