* test: added testcases of redux, selector and api * refactor: fixe recommanded issue and improve code cov * refactor: added cases for filter statuses * refactor: updated test description * refactor: add common method of mock data for learner and post * refactor: code and moved test utils in learners folder --------- Co-authored-by: sundasnoreen12 <sundasnoreen12@ggmail.com> Co-authored-by: Awais Ansari <awais.ansari63@gmail.com>
7 lines
191 B
JavaScript
7 lines
191 B
JavaScript
/* eslint-disable import/prefer-default-export */
|
|
|
|
export const executeThunk = async (thunk, dispatch, getState) => {
|
|
await thunk(dispatch, getState);
|
|
await new Promise(setImmediate);
|
|
};
|