File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # <a href =" https://www.npmjs.com/package/repatch " ><img alt =" Repatch " src =" http://services. jaystack.com/repatch-logo.png " height =" 50px " ></a >
1+ # <a href =" https://www.npmjs.com/package/repatch " ><img alt =" Repatch " src =" http://jaystack.com/wp-content/uploads/2017/08 /repatch-logo.png " height =" 50px " ></a >
22
33## Dispatch reducers
44
@@ -184,7 +184,7 @@ const mockApi = {
184184it (' fetchUsers' , async () => {
185185 const state = { users: [] };
186186 const store = new Store (state)
187- .addMiddleware (thunk .withExtraArgument (mockApi));
187+ .addMiddleware (thunk .withExtraArgument ({ api : mockApi } ));
188188 await store .dispatch (fetchUsers ());
189189 const nextState = store .getState ();
190190 assert .deepEqual (nextState .users , mockUsers);
@@ -199,4 +199,4 @@ it('fetchUsers', async () => {
199199
200200## Developed by
201201
202- [ ![ JayStack logo ] ( http://services. jaystack.com/jaystack_logo_transparent_50.png )] ( http://jaystack.com/ )
202+ [ ![ JayStack] ( http://jaystack.com/wp-content/uploads/2017/08 /jaystack_logo_transparent_50.png )] ( http://jaystack.com/ )
You can’t perform that action at this time.
0 commit comments