Skip to content

Time- Vera & Yaz#24

Open
saintmedusa wants to merge 26 commits into
Ada-C13:masterfrom
veralizeth:master
Open

Time- Vera & Yaz#24
saintmedusa wants to merge 26 commits into
Ada-C13:masterfrom
veralizeth:master

Conversation

@saintmedusa

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? First, the data lives in formFields, which then get sents back from NewCardForm to Board through the addCardCallBack function. In Board, we update the state with the new card and then we post it to the API.
What function did you use to make the GET request from the API to get the list of cards? Why use that function? We wrote a function getCards in Board which makes a axios GET request. We use this function to set the state of board (cardList).
How do snapshot tests differ from unit tests? Snapshots use JSX to compare, in the unit tests we are comparing data directly.
What purpose does Enzyme serve in testing a React app? It is a tool for testing the React components' output.

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.

2 participants