Skip to content

Commit

Permalink
UT fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohit Sahu committed Sep 25, 2024
1 parent f2bd706 commit c7e4d1d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ runTests(async () => {
const el =
miniCompareChart.shadowRoot.querySelector(selector);
if (!el) return 0;
return parseFloat(window.getComputedStyle(el).height);
return parseInt(window.getComputedStyle(el).height);
})
.join(',');
return heights;
Expand All @@ -76,7 +76,7 @@ runTests(async () => {
.fill()
.map(
(_, i) =>
parseFloat(
parseInt(
window.getComputedStyle(
miniCompareChart.querySelector(
`.footer-row-cell:nth-child(${i + 1})`,
Expand Down

0 comments on commit c7e4d1d

Please sign in to comment.