push
github
72 of 100 branches covered (72.0%)
Branch coverage included in aggregate %.
0 of 743 new or added lines in 22 files covered. (0.0%)
54 existing lines in 21 files now uncovered.386 of 1694 relevant lines covered (22.79%)
6.85 hits per line
NEW
|
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; |
× |