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

react-ui-org / react-ui / 14831340595

05 May 2025 07:31AM UTC coverage: 77.116% (-13.2%) from 90.283%
14831340595

Pull #636

github

web-flow
Merge c233dddc7 into b73b8ec0f
Pull Request #636: Refactoring/miscellaneous jest to playwright

626 of 897 branches covered (69.79%)

Branch coverage included in aggregate %.

695 of 816 relevant lines covered (85.17%)

43.59 hits per line

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

61.11
/src/components/Button/helpers/getRootLabelVisibilityClassName.js
1
export default (labelVisibility, styles) => {
2
  // Intentionally omitting `xs` which means label is visible on all screen sizes.
3

4
  if (labelVisibility === 'sm') {
84!
5
    return styles.hasLabelVisibleSm;
×
6
  }
7

8
  if (labelVisibility === 'md') {
84!
9
    return styles.hasLabelVisibleMd;
×
10
  }
11

12
  if (labelVisibility === 'lg') {
84!
13
    return styles.hasLabelVisibleLg;
×
14
  }
15

16
  if (labelVisibility === 'xl') {
84!
17
    return styles.hasLabelVisibleXl;
×
18
  }
19

20
  if (labelVisibility === 'x2l') {
84!
21
    return styles.hasLabelVisibleX2l;
×
22
  }
23

24
  if (labelVisibility === 'x3l') {
84!
25
    return styles.hasLabelVisibleX3l;
×
26
  }
27

28
  if (labelVisibility === 'none') {
84!
29
    return styles.hasLabelHidden;
×
30
  }
31

32
  return null;
84✔
33
};
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

© 2026 Coveralls, Inc