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

caleb531 / flip-book / 10498867251

21 Aug 2024 11:12PM UTC coverage: 26.973% (+0.1%) from 26.831%
10498867251

push

github

caleb531
Replace classnames utility with clsx

72 of 101 branches covered (71.29%)

Branch coverage included in aggregate %.

0 of 14 new or added lines in 7 files covered. (0.0%)

386 of 1597 relevant lines covered (24.17%)

3.64 hits per line

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

0.0
/scripts/components/progress-bar.jsx
1
import m from 'mithril';
×
NEW
2
import clsx from 'clsx';
×
3

4
class ProgressBarComponent {
×
5

6
  view({attrs: {progress = 0}}) {
×
7
    return m('div.progress-bar', [
×
8
      m('div.progress-bar-current-progress', {
×
NEW
9
        class: clsx({'no-progress': progress === 0}),
×
10
        style: {width: `${progress * 100}%`}
×
11
      })
×
12
    ]);
×
13
  }
×
14

15
}
×
16
ProgressBarComponent.delay = 500;
×
17

18
export default ProgressBarComponent;
×
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