Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add export statements to components to individually pull for testing #22

Open
sschipke opened this issue Oct 24, 2019 · 0 comments
Open
Assignees
Labels
MVP Minimum Required Functionality testing Necessary for testing the application

Comments

@sschipke
Copy link
Owner

sschipke commented Oct 24, 2019

We cannot use connect in our tests, so we need to export each component class/function declaration (in the case of functional components) as well as mapStateToProps and MapDispatchToProps functions where applicable.

Remember!

We'll still need

export default connect(mapStateToProps, mapDispatchToProps)(Component)

at the bottom of each component form

@sschipke sschipke added MVP Minimum Required Functionality testing Necessary for testing the application labels Oct 24, 2019
@sschipke sschipke added this to To do in Movie Tracker via automation Oct 24, 2019
@sschipke sschipke moved this from To do to Done in Movie Tracker Oct 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MVP Minimum Required Functionality testing Necessary for testing the application
Projects
Movie Tracker
  
Done
Development

No branches or pull requests

2 participants