mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
chore: move handDrawnSeed to mermaidUrl function
This commit is contained in:
parent
e5a28de26e
commit
6e0fe03552
@ -29,6 +29,7 @@ export const mermaidUrl = (
|
||||
options: CypressMermaidConfig,
|
||||
api: boolean
|
||||
): string => {
|
||||
options.handDrawnSeed = 1;
|
||||
const codeObject: CodeObject = {
|
||||
code: graphStr,
|
||||
mermaid: options,
|
||||
@ -65,7 +66,6 @@ export const imgSnapshotTest = (
|
||||
: 'courier',
|
||||
messageFontFamily: 'courier',
|
||||
},
|
||||
handDrawnSeed: 1,
|
||||
};
|
||||
|
||||
const url: string = mermaidUrl(graphStr, options, api);
|
||||
|
Loading…
x
Reference in New Issue
Block a user