(action$, _state$)
| 44 | spySandbox.spy(console, 'warn'); |
| 45 | const reducer: Reducer = (state = [], action) => state.concat(action); |
| 46 | const epic: Epic = (action$, _state$) => action$.pipe( |
| 47 | ofType('PING'), |
| 48 | map(() => ({ type: 'PONG' })), |
| 49 | ignoreElements(), |
| 50 | ); |
| 51 | |
| 52 | const middleware = createEpicMiddleware(); |
| 53 | createStore(reducer, applyMiddleware(middleware)); |
no test coverage detected
searching dependent graphs…