Skip to content

Commit

Permalink
Merge branch 'pr/RohanHandore/4340' into develop
Browse files Browse the repository at this point in the history
* pr/RohanHandore/4340:
  Remove optional chaining
  • Loading branch information
sidharthv96 committed Sep 7, 2023
2 parents 4f2902e + 56aa503 commit 6fa97a8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cypress/helpers/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@ export const imgSnapshotTest = (
sequence: {
...(_options.sequence || {}),
actorFontFamily: 'courier',
noteFontFamily: _options.sequence?.noteFontFamily || 'courier',
noteFontFamily:
_options.sequence && _options.sequence.noteFontFamily
? _options.sequence.noteFontFamily
: 'courier',
messageFontFamily: 'courier',
},
};
Expand Down

0 comments on commit 6fa97a8

Please sign in to comment.