My answers to the Lemoncode masters testing module exercises.
Add the necessary tests to a project that has already been created
- Add and configure necessary testing libraries (jest, react-testing-library, etc.)
- Add jest debugging configs for VSCode
- Add coverage configuration
- Add snapshot tests for Material UI components
- Add tests for mappers
- Add common/components tests (text-field & snackbar)
- Add pods/hotel-collection/hotel-collection.hook.ts tests
- Add hotel collection component/container tests
- Add Redux to the mix (a simple use case: Material UI snackbar + tests for actions, reducers and components that use it)
- Add continuous integration with Github Actions