(props)
| 56 | |
| 57 | class Clockclass extends React.Component{ |
| 58 | constructor(props){ |
| 59 | super(props) |
| 60 | |
| 61 | this.state={date:new Date()}; |
| 62 | } |
| 63 | componentDidMount(){ |
| 64 | this.timerID=setInterval(()=>(this.setState({date:new Date()})),1000) |
| 65 | } |
nothing calls this directly
no outgoing calls
no test coverage detected