(mapPropsToRequestsToProps)
| 1639 | |
| 1640 | it('should throw an error if mapPropsToRequestsToProps returns anything but a plain object', () => { |
| 1641 | function makeContainer(mapPropsToRequestsToProps) { |
| 1642 | return React.createElement( |
| 1643 | connect(mapPropsToRequestsToProps)( |
| 1644 | class Container extends Component { |
| 1645 | render() { |
| 1646 | return <Passthrough /> |
| 1647 | } |
| 1648 | } |
| 1649 | ) |
| 1650 | ) |
| 1651 | } |
| 1652 | |
| 1653 | function AwesomeMap() { } |
| 1654 |
no test coverage detected
searching dependent graphs…