Further reading
For more information, refer to the following sources:
- A cheat sheet showing all the Jest mocking constructs you’ll need for testing React code bases
https://reacttdd.com/mocking-cheatsheet
- A good introduction to the different kinds of test doubles
https://martinfowler.com/articles/mocksArentStubs.html
- An introduction to using the Fetch API
https://github.github.io/fetch
- Information on the ARIA alert role: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/alert_role