Skip to content
This repository has been archived by the owner on Nov 13, 2020. It is now read-only.

Commit

Permalink
Merge f23df1e into b9fae81
Browse files Browse the repository at this point in the history
  • Loading branch information
greenkeeper[bot] committed Apr 19, 2017
2 parents b9fae81 + f23df1e commit 5cd9a68
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# React Redux Epic

[![Greenkeeper badge](https://badges.greenkeeper.io/BerkeleyTrue/react-redux-epic.svg)](https://greenkeeper.io/)

[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/) [![Build Status](https://travis-ci.org/BerkeleyTrue/react-redux-epic.svg?branch=master)](https://travis-ci.org/BerkeleyTrue/react-redux-epic) [![Coverage Status](https://coveralls.io/repos/github/BerkeleyTrue/react-redux-epic/badge.svg?branch=master)](https://coveralls.io/github/BerkeleyTrue/react-redux-epic?branch=master)

Server Side Rendering made easy with [Redux-Observable](https://github.com/redux-observable/redux-observable)
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@
"author": "Berkeley Martinez <hi@BerkeleyTrue.com> (http://www.BerkeleyTrue.com)",
"license": "MIT",
"devDependencies": {
"ava": "^0.18.2",
"ava": "^0.19.1",
"babel": "^6.5.2",
"babel-cli": "^6.14.0",
"babel-eslint": "^6.1.2",
"babel-eslint": "^7.2.2",
"babel-plugin-dev-expression": "^0.2.1",
"babel-plugin-istanbul": "^2.0.1",
"babel-plugin-istanbul": "^4.1.1",
"babel-plugin-transform-function-bind": "^6.8.0",
"babel-plugin-transform-runtime": "^6.15.0",
"babel-preset-es2015": "^6.14.0",
Expand All @@ -60,12 +60,12 @@
"cz-conventional-changelog": "^2.0.0",
"enzyme": "^2.4.1",
"eslint": "^3.5.0",
"eslint-plugin-import": "^1.15.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-react": "^6.3.0",
"nodemon": "^1.11.0",
"nyc": "^10.1.2",
"react-addons-test-utils": "^15.3.2",
"sinon": "^1.17.6"
"sinon": "^2.1.0"
},
"dependencies": {
"babel-runtime": "^6.11.6",
Expand All @@ -74,7 +74,7 @@
"react": "^15.3.2",
"react-dom": "^15.3.2",
"redux": "^3.6.0",
"redux-observable": "^0.12.2",
"redux-observable": "^0.14.1",
"rxjs": "^5.0.0-rc.5"
},
"config": {
Expand Down
3 changes: 1 addition & 2 deletions src/wrap-root-epic.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import invariant from 'invariant';
import { EmptyObservable } from 'rxjs/observable/EmptyObservable';
import { Subject } from 'rxjs/Subject';
import { Subscriber } from 'rxjs/Subscriber';
import { EPIC_END } from 'redux-observable/lib/EPIC_END';
import { ActionsObservable } from 'redux-observable/lib/ActionsObservable.js';
import { ActionsObservable, EPIC_END } from 'redux-observable';
import debug from 'debug';

import {
Expand Down
5 changes: 3 additions & 2 deletions test/wrap-root-epic.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,10 @@ test(
'wrappedEpic(actions) => results will emit actions',
t => {
const wrappedEpic = wrapRootEpic(
() => ActionsObservable.of({ type: 'FOO' })
actions => actions.mapTo({ type: 'FOO' })
);
return wrappedEpic(ActionsObservable.of({ type: 'BAR' }))

return wrappedEpic(ActionsObservable.of({ type: 'BAR' }).delay(1))
.map(action => {
t.is(action.type, 'FOO');
});
Expand Down

0 comments on commit 5cd9a68

Please sign in to comment.