Skip to content

Commit

Permalink
chore: move handDrawnSeed to mermaidUrl function
Browse files Browse the repository at this point in the history
  • Loading branch information
sidharthv96 committed Oct 3, 2024
1 parent e5a28de commit 6e0fe03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/helpers/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export const mermaidUrl = (
options: CypressMermaidConfig,
api: boolean
): string => {
options.handDrawnSeed = 1;
const codeObject: CodeObject = {
code: graphStr,
mermaid: options,
Expand Down Expand Up @@ -65,7 +66,6 @@ export const imgSnapshotTest = (
: 'courier',
messageFontFamily: 'courier',
},
handDrawnSeed: 1,
};

const url: string = mermaidUrl(graphStr, options, api);
Expand Down

0 comments on commit 6e0fe03

Please sign in to comment.