Describe the bug
Our test cases need a Redis module dependency to run, but this should not be the case as test cases should be independent of these types of dependencies. These dependencies should have been mocked.
To Reproduce
Steps to reproduce the behavior:
- Go to the root folder of the project.
- Run the command
yarn test api without running Redis.
- See the error:

Expected behavior
Test cases should have passed even if Redis is not connected.
Screenshots

Desktop (please complete the following information):
- OS: Windows
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Describe the bug
Our test cases need a Redis module dependency to run, but this should not be the case as test cases should be independent of these types of dependencies. These dependencies should have been mocked.
To Reproduce
Steps to reproduce the behavior:
yarn test apiwithout running Redis.Expected behavior
Test cases should have passed even if Redis is not connected.
Screenshots

Desktop (please complete the following information):
Smartphone (please complete the following information):