WIP-hook up a renderer

This commit is contained in:
Raghu Rajagopalan
2016-03-29 08:33:38 +05:30
parent 44dc30c02c
commit e17b35a96a
4 changed files with 80 additions and 18 deletions

View File

@@ -29,6 +29,12 @@ describe('when detecting chart type ', function () {
var type = utils.detectType(str);
expect(type).toBe('graph');
});
it('should handle a graph defintion for gitGraph', function () {
str = ' \n gitGraph TB:\nbfs1:queue';
var type = utils.detectType(str);
expect(type).toBe('gitGraph');
});
});
describe('when cloning CSS ', function () {