push
github
85 of 86 branches covered (98.84%)
Branch coverage included in aggregate %.
386 of 388 relevant lines covered (99.48%)
18.7 hits per line
1 |
/**
|
1✔ |
2 |
* Base Component class |
1✔ |
3 |
* @param {object} props The initial component props |
1✔ |
4 |
*/ |
1✔ |
5 |
export default class Component { |
1✔ |
6 |
constructor(props) { |
|
7 |
this.props = props
|
2✔ |
8 |
this.state = this.state || {} |
2✔ |
9 |
} |
2✔ |
10 |
|
1✔ |
11 |
render() { |
1✔ |
12 |
return null |
× |
13 |
} |
× |
14 |
} |
1✔ |