#3238 Added more rendering test cases

This commit is contained in:
ashishj
2022-08-30 18:37:13 +02:00
parent 7068f6c08a
commit dd40b19c89

View File

@@ -253,4 +253,32 @@ describe('Git Graph diagram', () => {
{}
);
});
it('12: should render a simple gitgraph with three branches,custom merge commit id,tag,type', () => {
imgSnapshotTest(
`gitGraph
commit id: "1"
commit id: "2"
branch nice_feature
checkout nice_feature
commit id: "3"
checkout main
commit id: "4"
checkout nice_feature
branch very_nice_feature
checkout very_nice_feature
commit id: "5"
checkout main
commit id: "6"
checkout nice_feature
commit id: "7"
checkout main
merge nice_feature id: "customID" tag: "customTag" type: "REVERSE"
checkout very_nice_feature
commit id: "8"
checkout main
commit id: "9"
`,
{}
);
});
});