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):
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 api
without 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):