(props)
| 21 | class CustomLogger extends Component { |
| 22 | |
| 23 | constructor(props) { |
| 24 | super(props) |
| 25 | |
| 26 | this.state = { test: null } |
| 27 | |
| 28 | options.log = test => this.setState({ test }) |
| 29 | } |
| 30 | |
| 31 | render() { |
| 32 | return this.state.test && <pre>{this.state.test}</pre> |
nothing calls this directly
no outgoing calls
no test coverage detected