WIP - pretty print commit on console

This commit is contained in:
Raghu Rajagopalan
2016-03-27 23:02:31 +05:30
parent d3caa9b97d
commit 8befe916fb
3 changed files with 14 additions and 0 deletions

View File

@@ -176,5 +176,7 @@ describe('when parsing a gitGraph',function() {
expect(parser.yy.getCurrentBranch()).toBe("newbranch");
expect(parser.yy.getBranches()["newbranch"]).toEqual(parser.yy.getBranches()["master"]);
expect(parser.yy.getHead().id).toEqual(parser.yy.getBranches()["master"]);
parser.yy.prettyPrint();
});
});