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

Ports - Jillianne #38

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Ports - Jillianne #38

wants to merge 4 commits into from

Conversation

jillirami
Copy link

Inspiration Board

Congratulations! You're submitting your assignment!

Comprehension Questions

Question Answer
What is the flow of data from input on the form to being a new card on the board? Data is stored in the NewCardForm components state, which was then sent through the API. This is then stored in the Boards cards array to then be displayed on the board.
What function did you use to make the GET request from the API to get the list of cards? Why use that function? Axios.get is the function that is used for a get request to access information from an endpoint. Axios parses API responses.
How do snapshot tests differ from unit tests? Snapshot tests differ from unit tests in that html is saved as a JSON snapshot to be compared with future outputs and determined if any changes occurred from a previous instance. Unit tests verify appropriate inputs and outputs, but are not directly assessing html.
What purpose does Enzyme serve in testing a React app? Enzyme allows you to test manipulation and aspects of React components on in shallow or deep screenshots, verifying if components are rendering appropriately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant