Closed Thenlie closed 1 year ago
I will continue to work on this as I learn more about Mocking. We actually probably do want to hardcode the results, as we do not want network interference to impact our tests. Rather, we should mock invalid API calls and ensure our site can handle them. At the end of the day we have no control over the MovieDB API so we should make sure the site is able to handle whatever it returns.
Closed by #200
We want to ensure the MovieDB function are returning the expected data. We will likely need to mock the fetch calls.
We need to make sure we aren't simply hardcoding the results.I ended up doing a lot of this work on #184
184