Update cypress/helpers/util.js

This commit is contained in:
Sidharth Vinod
2023-09-06 17:07:08 +00:00
committed by GitHub
parent 3f7bafb2d7
commit fd39ea8049

View File

@@ -25,7 +25,7 @@ export const imgSnapshotTest = (graphStr, _options = {}, api = false, validation
fontFamily: _options.fontFamily || 'courier',
fontSize: _options.fontSize || '16px',
sequence: {
...(options.sequence || {}),
...(_options.sequence || {}),
actorFontFamily: 'courier',
noteFontFamily: _options.sequence?.noteFontFamily || 'courier',
messageFontFamily: 'courier',