(props)
| 843 | inc = () => this.counter++ |
| 844 | |
| 845 | constructor(props) { |
| 846 | super(props) |
| 847 | makeObservable(this) |
| 848 | setTimeout(() => this.inc(), 300) |
| 849 | } |
| 850 | |
| 851 | render() { |
| 852 | return <p>{this.counter}</p> |
nothing calls this directly
no test coverage detected