mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-17 22:39:56 +02:00
Support for åäö and minus in text
This commit is contained in:
22
src/parser/flow.spec.js
Normal file
22
src/parser/flow.spec.js
Normal file
@@ -0,0 +1,22 @@
|
||||
/**
|
||||
* 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);
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
|
Reference in New Issue
Block a user