Skip to content

Commit

Permalink
Upgrade dependencies (fusionjs#156)
Browse files Browse the repository at this point in the history
* greenkeep

* fix lock file

* fix tests
  • Loading branch information
lhorie committed Nov 28, 2018
1 parent 0bbe329 commit ace1058
Show file tree
Hide file tree
Showing 3 changed files with 101 additions and 138 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"./dist/browser.es2015.es.js": "./dist/browser.es2017.es.js"
},
"dependencies": {
"fusion-plugin-rpc": "^2.3.0-0",
"fusion-rpc-redux": "^1.2.0",
"fusion-plugin-rpc": "^2.3.0",
"fusion-rpc-redux": "^1.3.0",
"prop-types": "^15.6.1"
},
"peerDependencies": {
Expand All @@ -41,14 +41,14 @@
"eslint-plugin-cup": "^2.0.0",
"eslint-plugin-flowtype": "^3.2.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jest": "^22.0.0",
"eslint-plugin-jest": "^22.1.0",
"eslint-plugin-prettier": "^3.0.0",
"eslint-plugin-react": "^7.11.1",
"flow-bin": "^0.86.0",
"flow-bin": "^0.87.0",
"fusion-core": "^1.10.0",
"fusion-plugin-universal-events": "^1.3.0",
"fusion-react": "^1.3.4-0",
"fusion-test-utils": "^1.2.4",
"fusion-react": "^1.3.4",
"fusion-test-utils": "^1.3.0",
"fusion-tokens": "^1.1.1",
"nyc": "^13.1.0",
"prettier": "1.15.2",
Expand Down
19 changes: 17 additions & 2 deletions src/__tests__/index.browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,14 @@ test('browser plugin integration test withRPCRedux - failure', async t => {
{type: /TEST_START/, payload: {hello: 'world'}},
{
type: /TEST_FAILURE/,
payload: {message: 'message', code: 'code', meta: {hello: 'world'}},
payload: {
message: 'message',
code: 'code',
meta: {hello: 'world'},
initialArgs: {
hello: 'world',
},
},
},
];
const store = createStore((state, action) => {
Expand Down Expand Up @@ -256,7 +263,12 @@ test('browser mock integration test withRPCRedux - failure', async t => {
{type: /TEST_START/, payload: {hello: 'world'}},
{
type: /TEST_FAILURE/,
payload: {message: 'message', code: 'code', meta: {hello: 'world'}},
payload: {
message: 'message',
code: 'code',
meta: {hello: 'world'},
initialArgs: {hello: 'world'},
},
},
];
const store = createStore((state, action) => {
Expand Down Expand Up @@ -546,6 +558,7 @@ test('browser plugin integration test withRPCReactor - failure', async t => {
code: e.code,
// $FlowFixMe
meta: e.meta,
initialArgs: {hello: 'world'},
},
'dispatches failure with correct payload'
);
Expand Down Expand Up @@ -603,6 +616,7 @@ test('browser plugin integration test withRPCReactor - failure 2', async t => {
code: e.code,
// $FlowFixMe
meta: e.meta,
initialArgs: {hello: 'world'},
},
})
)
Expand Down Expand Up @@ -657,6 +671,7 @@ test('browser plugin integration test withRPCReactor - failure 2', async t => {
code: e.code,
// $FlowFixMe
meta: e.meta,
initialArgs: {hello: 'world'},
},
'dispatches failure with correct payload'
);
Expand Down

0 comments on commit ace1058

Please sign in to comment.