Functional Test Report

Start: 2018-12-09 17:31:50
20 tests -- 20 passed / 0 failed / 0 pending
./src/test/dispatchInterceptor.test.js
0.258s
enhanced dispatchhas standard redux behaviorpassed in 0.004s
enhanced dispatchhandles standard redux thunkspassed in 0.001s
enhanced dispatchhandles redux thunks with extra dispatch argumentspassed in 0.002s
enhanced dispatchthrows error when trying to register interceptor without typepassed in 0s
enhanced dispatchthrows error when trying to register two interceptors of the same typepassed in 0s
enhanced dispatchthrows error when interceptor is no functionpassed in 0s
enhanced dispatchthrows error when interceptor returns no booleanpassed in 0s
enhanced dispatchcalls registered interceptors with action, getState, dipatch timestamp and additional dispatch argspassed in 0.002s
enhanced dispatchblocks dispatch in case any interceptor returns falsepassed in 0s
enhanced dispatchdoes not block dispatches with noIntercept in additional dispatch-objectpassed in 0.001s
enhanced dispatchdoes not block dispatches with corresponding noInterceptTypes string in dispatch-objectpassed in 0s
enhanced dispatchdoes not block dispatches with corresponding noInterceptTypes array in dispatch-objectpassed in 0.001s
enhanced dispatchdoes not block dispatches with corresponding noInterceptTypes array in dispatch-objectpassed in 0s
enhanced dispatchnotifies about finished dispatch with intercept infopassed in 0.002s
enhanced dispatchallows to dispatch from interceptorpassed in 0s
enhanced dispatchby default does not intercept actions from thunkspassed in 0.001s
enhanced dispatchallows for interceptors that intercept in thunkspassed in 0s
enhanced dispatchby default passes intercept dispatch args to thunk dispatchespassed in 0.001s
enhanced dispatchcan also dispatch without passing dispatch args to thunkpassed in 0.001s
enhanced dispatchcorrectly passes additional dispatch arguments with actions from thunks, also if interceptArgs are not passedpassed in 0.001s