chore: resolve eslint warnings in cypress/integration/rendering/journey.spec.js

This commit is contained in:
Sidharth Vinod
2025-04-19 10:21:41 +05:30
parent ff9d26bc70
commit 96c06a681d

View File

@@ -214,7 +214,7 @@ section Checkout from website
$lines.each((index, el) => {
const bbox = el.getBBox();
expect(bbox.width).to.be.lte(320);
maxLineWidth = Math.max(maxLineWidth || 0, bbox.width);
maxLineWidth = Math.max(maxLineWidth ?? 0, bbox.width);
});
/** The expected margin between the diagram and the legend is 150px, as defined by