push
github
72 of 100 branches covered (72.0%)
Branch coverage included in aggregate %.
54 of 648 new or added lines in 27 files covered. (8.33%)
54 existing lines in 21 files now uncovered.405 of 1642 relevant lines covered (24.67%)
8.88 hits per line
1 |
import clsx from 'clsx'; |
|
2 |
|
|
3 |
class ProgressBarComponent { |
× |
NEW
|
view({ attrs: { progress = 0 } }) { |
× |
NEW
|
return (
|
× |
NEW
|
<div className="progress-bar">
|
× |
NEW
|
<div |
× |
NEW
|
className={clsx('progress-bar-current-progress', { |
× |
NEW
|
'no-progress': progress === 0 |
× |
NEW
|
})} |
× |
NEW
|
style={{ width: `${progress * 100}%` }} |
× |
NEW
|
/> |
× |
NEW
|
</div> |
× |
14 |
); |
|
UNCOV
15
|
} |
× |
UNCOV
16
|
} |
× |
17 |
ProgressBarComponent.delay = 500;
|
× |
18 |
|
|
19 |
export default ProgressBarComponent; |
× |