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 OverlayComponent from './overlay.jsx'; |
|
2 |
|
|
3 |
class ModalComponent { |
× |
UNCOV
4
|
view(vnode) { |
× |
NEW
|
return (
|
× |
NEW
|
<> |
× |
NEW
|
<OverlayComponent |
× |
NEW
|
type="modal"
|
× |
NEW
|
onDismiss={() => { |
× |
10 |
/* do nothing */
|
|
NEW
|
}} |
× |
NEW
|
/> |
× |
13 |
, |
|
NEW
|
<div className="modal" {...vnode.attrs}>
|
× |
NEW
|
{vnode.children} |
× |
NEW
|
</div> |
× |
NEW
|
</> |
× |
18 |
); |
|
UNCOV
19
|
} |
× |
UNCOV
20
|
} |
× |
21 |
|
|
22 |
export default ModalComponent; |
× |