I create a mock promise as delay()to access redux-thunk.
In the action part, I could not understand cb && \'function\' === typeof cb && cb(data)
cb && \'function\' === typeof cb && cb(data)