• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

react-ui-org / react-ui / 13409901360

19 Feb 2025 09:59AM UTC coverage: 91.956%. First build
13409901360

Pull #544

github

web-flow
Merge b0b2c90f9 into 87ee7df12
Pull Request #544: Re-implement `Modal` component using HTMLDialogElement (#461)

785 of 859 branches covered (91.39%)

Branch coverage included in aggregate %.

31 of 33 new or added lines in 4 files covered. (93.94%)

724 of 782 relevant lines covered (92.58%)

72.79 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/components/Popover/_helpers/cleanPlacementStyle.js
1
export default (placementStyle) => {
2
  const validProps = [
×
3
    'position',
4
    'inset',
5
    'inset-inline-start',
6
    'inset-inline-end',
7
    'inset-block-start',
8
    'inset-block-end',
9
    'top',
10
    'right',
11
    'bottom',
12
    'left',
13
    'translate',
14
    'transform-origin',
15
  ];
16

17
  return Object.fromEntries(
×
18
    Object.entries(placementStyle).filter(([prop]) => validProps.includes(prop)),
×
19
  );
20
};
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc