After meeting with Geoff, I figured out how to test when a user 'clicks' on the Add to List button in the BookSearchTile and ensure that the correct dropdowns are displayed with the correct text!
Requires using act(), awaits and async because React needs to be able to make the updates asynchronously to the states and the other components.
Description
After meeting with Geoff, I figured out how to test when a user 'clicks' on the Add to List button in the BookSearchTile and ensure that the correct dropdowns are displayed with the correct text!
Requires using act(), awaits and async because React needs to be able to make the updates asynchronously to the states and the other components.
Linked Issue
68