Add support for classDiagram labels

This commit is contained in:
Sidharth Vinod
2023-02-14 00:36:43 +05:30
parent 46f2aebabc
commit 102900749e
6 changed files with 52 additions and 43 deletions

View File

@@ -22,7 +22,7 @@ export const mermaidUrl = (graphStr, options, api) => {
return url;
};
export const imgSnapshotTest = (graphStr, _options, api = false, validation) => {
export const imgSnapshotTest = (graphStr, _options = {}, api = false, validation = undefined) => {
cy.log(_options);
const options = Object.assign(_options);
if (!options.fontFamily) {