()
| 61 | this.state={date:new Date()}; |
| 62 | } |
| 63 | componentDidMount(){ |
| 64 | this.timerID=setInterval(()=>(this.setState({date:new Date()})),1000) |
| 65 | } |
| 66 | componentWillUnmount(){ |
| 67 | clearInterval (this.timerID) |
| 68 | } |
nothing calls this directly
no outgoing calls
no test coverage detected