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

caleb531 / workday-time-calculator / 6758320398

05 Nov 2023 01:15AM UTC coverage: 75.373% (+0.6%) from 74.803%
6758320398

push

github

caleb531
Add basic test for calendar panel

204 of 247 branches covered (0.0%)

Branch coverage included in aggregate %.

1816 of 2433 relevant lines covered (74.64%)

100.7 hits per line

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

30.43
/scripts/components/radio-button.js
1
import m from 'mithril';
2✔
2

2✔
3
class RadioButtonComponent {
2✔
4
  view({ attrs: { preferences, preference, option } }) {
2✔
5
    return m('div.radio-button', [
×
6
      m('input[type=radio].radio-button-input', {
×
7
        name: preference.id,
×
8
        id: `${preference.id}-${option.value}`,
×
9
        value: option.value,
×
10
        checked: preferences[preference.id] === option.value
×
11
      }),
×
12
      m(
×
13
        'label.radio-button-icon',
×
14
        {
×
15
          for: `${preference.id}-${option.value}`
×
16
        },
×
17
        m('div.radio-button-icon-dot')
×
18
      )
×
19
    ]);
×
20
  }
×
21
}
2✔
22

2✔
23
export default RadioButtonComponent;
2✔
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