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

CaptainFact / captain-fact-extension / 4601924444

pending completion
4601924444

push

github

Benjamin Piouffle
chore: Deps update + cleanup

26 of 120 branches covered (21.67%)

Branch coverage included in aggregate %.

69 of 69 new or added lines in 13 files covered. (100.0%)

59 of 228 relevant lines covered (25.88%)

0.67 hits per line

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

50.0
/app/components/Select.js
1
import React from 'react'
2
import classnames from 'classnames'
3
import { button, active } from './Button.css'
4
import { select } from './Select.css'
5

6
export default class Select extends React.Component {
7
  render() {
8
    const { selected, options, onChange } = this.props
2✔
9
    return (
2✔
10
      <div className={select}>
11
        {Object.keys(options).map((key) => (
12
          <a
4✔
13
            key={key}
14
            className={classnames(button, {
15
              [active]: selected === options[key],
16
            })}
17
            data-value={key}
18
            onClick={() => selected !== options[key] && onChange(options[key])}
×
19
          >
20
            {key}
21
          </a>
22
        ))}
23
      </div>
24
    )
25
  }
26
}
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