mermaid/src/parser/flow.spec.js

23 lines
553 B
JavaScript
Raw Normal View History

2014-11-12 07:35:44 +01:00
/**
* Created by knut on 14-11-03.
*/
define('parser/flow.spec',['parser/graph','parser/flow'],function(graph, p){
describe('when parsing ',function(){
beforeEach(function(){
graph.clear();
p.yy = graph;
/*p.parse.parseError= function parseError(str, hash) {
console.log(str);
}*/
});
it('should handle a nodes and edges',function(){
var res = p.parse('apa-apa-åäö');
console.log('Done parsing:' + res);
});
});
});