mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-23 17:29:54 +02:00
test(e2e): make gitgraph snapshots consistent
Add a commit id to 'should render a simple gitgraph with a title', as otherwise the gitgraph renderer picks a random commit ID, and so image snapshots will be different.
This commit is contained in:
@@ -328,7 +328,7 @@ describe('Git Graph diagram', () => {
|
|||||||
title: simple gitGraph
|
title: simple gitGraph
|
||||||
---
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
commit
|
commit id: "1-abcdefg"
|
||||||
`,
|
`,
|
||||||
{}
|
{}
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user