We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aaa0470 commit 41ff984Copy full SHA for 41ff984
test/components/connect.spec.js
@@ -2277,11 +2277,9 @@ describe('React', () => {
2277
}
2278
2279
const store = createStore((state = 0, action) => (action.type === 'INC' ? state + 1 : state))
2280
- const a = TestRenderer.create(<ProviderMock store={store}><Parent /></ProviderMock>)
+ TestRenderer.create(<ProviderMock store={store}><Parent /></ProviderMock>)
2281
2282
expect(mapStateToProps).toHaveBeenCalledTimes(1)
2283
- console.log('dispatch')
2284
- console.log(a.getInstance().props.children)
2285
store.dispatch({ type: 'INC' })
2286
expect(mapStateToProps).toHaveBeenCalledTimes(2)
2287
})
0 commit comments