mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-09 10:36:43 +02:00
e2e test case added
This commit is contained in:
@@ -701,4 +701,21 @@ gitGraph TB:
|
|||||||
{}
|
{}
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
it('34: should render a simple gitgraph with cherry pick merge commit', () => {
|
||||||
|
imgSnapshotTest(
|
||||||
|
`gitGraph
|
||||||
|
commit id: "ZERO"
|
||||||
|
branch feature
|
||||||
|
branch release
|
||||||
|
checkout feature
|
||||||
|
commit id: "A"
|
||||||
|
commit id: "B"
|
||||||
|
checkout main
|
||||||
|
merge feature id: "M"
|
||||||
|
checkout release
|
||||||
|
cherry-pick id: "M" parent:"B"
|
||||||
|
`,
|
||||||
|
{}
|
||||||
|
);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user