mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08: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:
parent
3e4dc306d4
commit
51119f22df
@ -328,7 +328,7 @@ describe('Git Graph diagram', () => {
|
||||
title: simple gitGraph
|
||||
---
|
||||
gitGraph
|
||||
commit
|
||||
commit id: "1-abcdefg"
|
||||
`,
|
||||
{}
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user