dForDeveloper / movie-tracker

An app for keeping track of newly released movies
0 stars 1 forks source link

Test mapStateToProps and mapDispatchToProps for all Redux containers #26

Closed dForDeveloper closed 5 years ago

dForDeveloper commented 5 years ago

The tests were pretty straight forward. For the mapStateToProps functions, I tested that they return objects of the correct structure. For the mapDispatchToProps functions, I test that the methods on the objects returned called the dispatch function passed in to MDTP.

Issue: #10