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

Write test for submitting ProduceForm component #120

Open
ahnwarez opened this issue Jul 13, 2022 · 0 comments
Open

Write test for submitting ProduceForm component #120

ahnwarez opened this issue Jul 13, 2022 · 0 comments
Labels
good first issue Good for newcomers testing

Comments

@ahnwarez
Copy link
Contributor

The test module in client/subcomponents/produce/ProduceForm/ProduceForm.test.js has a todo at the very bottom. Your task is write a test to check that the submitProduce is called when the submitButton is clicked.

tip: Look at a similar component to get an idea for writing your test in client/subcomponents/volunteers/VolunteerButton/VolunteerButton.test.js

@ahnwarez ahnwarez added good first issue Good for newcomers testing labels Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers testing
Projects
None yet
Development

No branches or pull requests

1 participant