Project

General

Profile

Idea #15603

Updated by Eric Biagiotti almost 5 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":https://airbnb.io/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.  

 * Take the opportunity to try React-Testing-Library instead of Enzyme.

Back