Skip to content
This repository was archived by the owner on May 17, 2019. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading