Story #15603

Updated by Eric Biagiotti about 2 years ago

* Create error handling middleware and update any file upload functionality to use it where appropriate.

* Create unit tests for the reducer and action creators and use "enzyme": to test UI component interaction with state. This will not include end to end testing of file uploading.

* Make sure action creators that result in async calls follow the pattern of START_ACTION, ACTION_SUCCESS, ACTION_FAILED, and use the error handling middleware if it failed.