Skip to content

Commit 41ff984

Browse files
committed
fix linting errors
1 parent aaa0470 commit 41ff984

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/components/connect.spec.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2277,11 +2277,9 @@ describe('React', () => {
22772277
}
22782278

22792279
const store = createStore((state = 0, action) => (action.type === 'INC' ? state + 1 : state))
2280-
const a = TestRenderer.create(<ProviderMock store={store}><Parent /></ProviderMock>)
2280+
TestRenderer.create(<ProviderMock store={store}><Parent /></ProviderMock>)
22812281

22822282
expect(mapStateToProps).toHaveBeenCalledTimes(1)
2283-
console.log('dispatch')
2284-
console.log(a.getInstance().props.children)
22852283
store.dispatch({ type: 'INC' })
22862284
expect(mapStateToProps).toHaveBeenCalledTimes(2)
22872285
})

0 commit comments

Comments
 (0)