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

caleb531 / flip-book / 10498942155

21 Aug 2024 11:20PM UTC coverage: 27.541% (+0.6%) from 26.973%
10498942155

push

github

caleb531
Replace classnames utility with clsx

72 of 100 branches covered (72.0%)

Branch coverage included in aggregate %.

0 of 12 new or added lines in 6 files covered. (0.0%)

386 of 1563 relevant lines covered (24.7%)

7.43 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