parenthesis are mandatory

This commit is contained in:
Matthieu MOREL
2020-12-06 14:14:04 +01:00
parent e7852ea54e
commit 5ca629ec90
2 changed files with 5 additions and 5 deletions

View File

@@ -25,7 +25,7 @@ describe('[Interactions] when parsing', () => {
it('it should be possible to use click to a callback with toolip', function() {
spyOn(flowDb, 'setClickEvent');
spyOn(flowDb, 'setTooltip');
const res = flow.parser.parse('graph TD\nA-->B\nclick A call callback "tooltip"');
const res = flow.parser.parse('graph TD\nA-->B\nclick A call callback() "tooltip"');
const vert = flow.parser.yy.getVertices();
const edges = flow.parser.yy.getEdges();