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 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; |
× |