(msg)
| 446 | it('should call nested legacy lifecycle methods in the right order', async () => { |
| 447 | let log; |
| 448 | const logger = function (msg) { |
| 449 | return function () { |
| 450 | // return true for shouldComponentUpdate |
| 451 | log.push(msg); |
| 452 | return true; |
| 453 | }; |
| 454 | }; |
| 455 | class Outer extends React.Component { |
| 456 | UNSAFE_componentWillMount = logger('outer componentWillMount'); |
| 457 | componentDidMount = logger('outer componentDidMount'); |
no test coverage detected