test: improve test assertions with exact value matching
- Replace regex patterns with exact equality assertions where possible - Update 'toggle all-day' test to use exact date value instead of regex - Keep regex for time range in preview as format varies by implementation - Address Ben concern about meaningful test assertions
This commit is contained in:
committed by
Benoit TELLIER
parent
456271da32
commit
2932607afb
@@ -106,9 +106,7 @@ function ResponsiveDialog({
|
||||
width: "100%",
|
||||
// height: isExpanded ? `calc(100vh - ${headerHeight})` : "90vh",
|
||||
margin: isExpanded ? `${headerHeight} 0 0 0` : "32px",
|
||||
maxHeight: isExpanded
|
||||
? `calc(100vh - ${headerHeight})`
|
||||
: "790px",
|
||||
maxHeight: isExpanded ? `calc(100vh - ${headerHeight})` : "790px",
|
||||
boxShadow: isExpanded ? "none !important" : undefined,
|
||||
transition: isExpanded ? "none !important" : undefined,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user