Skip to content

Ports - Amy W#34

Open
amythetester wants to merge 11 commits intoAda-C11:masterfrom
amythetester:master
Open

Ports - Amy W#34
amythetester wants to merge 11 commits intoAda-C11:masterfrom
amythetester:master

Conversation

@amythetester
Copy link
Copy Markdown

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? The form gets user input and sets this information to state, once the form is submitted a callback takes this information in the form state and the callback adds the card to the board using the API. getCards is used here and it rerenders 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? I created a function called getCards. I used this function because it allowed me to get the cards initially, but also reset state when deleting or adding a card.
How do snapshot tests differ from unit tests? Snapshots focus on the UI where Unit Tests are usually small pieces of functionality.
What purpose does Enzyme serve in testing a React app? It makes testing more readable. This is for UI testing.

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