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

react-ui-org / react-ui / 17425111982

02 Sep 2025 09:03AM UTC coverage: 60.829% (-30.8%) from 91.677%
17425111982

push

github

bedrich-schindler
Fix playwright testing guideline commands (#598)

105 of 204 branches covered (51.47%)

Branch coverage included in aggregate %.

159 of 230 relevant lines covered (69.13%)

6.73 hits per line

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

50.88
/src/components/_helpers/getRootColorClassName.js
1
export const getRootColorClassName = (variant, styles) => {
4✔
2
  if (variant === 'primary') {
4!
3
    return styles.isRootColorPrimary;
×
4
  }
5

6
  if (variant === 'secondary') {
4!
7
    return styles.isRootColorSecondary;
×
8
  }
9

10
  if (variant === 'selected') {
4!
11
    return styles.isRootColorSelected;
×
12
  }
13

14
  if (variant === 'success') {
4!
15
    return styles.isRootColorSuccess;
×
16
  }
17

18
  if (variant === 'warning') {
4!
19
    return styles.isRootColorWarning;
×
20
  }
21

22
  if (variant === 'danger') {
4!
23
    return styles.isRootColorDanger;
×
24
  }
25

26
  if (variant === 'help') {
4!
27
    return styles.isRootColorHelp;
×
28
  }
29

30
  if (variant === 'info') {
4!
31
    return styles.isRootColorInfo;
×
32
  }
33

34
  if (variant === 'note') {
4!
35
    return styles.isRootColorNote;
4✔
36
  }
37

38
  if (variant === 'light') {
×
39
    return styles.isRootColorLight;
×
40
  }
41

42
  if (variant === 'dark') {
×
43
    return styles.isRootColorDark;
×
44
  }
45

46
  return null;
×
47
};
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