test/support/container-helper.js
Function renderContainerWith
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const renderContainerWith = (render) => (providerProps = {}, routerProps = {}, appendToBody = false) => {
const { initialState, ...pProps } = providerProps,
state = Object.assign({
session: {}
}, initialState || {});