| 69 | }) |
| 70 | |
| 71 | @connect(({ foo, baz }) => ({ |
| 72 | testFetch: { |
| 73 | url: `/${foo}/${baz}`, |
| 74 | meta: { |
| 75 | test: 'voodoo' |
| 76 | } |
| 77 | }, |
| 78 | errorFetch: '/error', |
| 79 | rejectFetch: '/reject', |
| 80 | testFunc: (arg1, arg2) => ({ |
| 81 | deferredFetch: `/${foo}/${baz}/deferred/${arg1}/${arg2}` |
| 82 | }) |
| 83 | })) |
| 84 | class Container extends Component { |
| 85 | render() { |
| 86 | return <Passthrough {...this.props} /> |
| 87 | } |
| 88 | } |
| 89 | |
| 90 | const container = TestUtils.renderIntoDocument( |
| 91 | <Container {...props} /> |