User Testing for Front,Backend,Reducer
Opened this issue · 3 comments
rkaur01 commented
Write 1 backend test and 1 front end test for users route and UserProfile component
rkaur01 commented
Front end test successful
- needed to export UserProfile as dumb component
- needed to modify history.js to account for testing
- needed to add .babelrc and install testing modules
Back end test failed
- need to refactor server/start to only include code to start db
- need to move all middleware to middleware file
- TEAM: check your paths wherever you use middleware
rkaur01 commented
Half of this issue is complete and merged with master, will tackle other half today!
rkaur01 commented
Backend test successful - got approval to refactor start.js from team. Now app is inside middleware.js and start.js requires app and starts server