I use redis-mock. And during the tests I don't see any new data in local db, it means jest use redis-mock and not real redis, but if I change port or url from "localhost:6379" to something different I receive an error: Redis connection to localhost:1 failed - connect ECONNREFUSED 127.0.0.1:1Error: connect ECONNREFUSED 127.0.0.1:1
Same thing during building project in the docker.
I use redis-mock. And during the tests I don't see any new data in local db, it means jest use redis-mock and not real redis, but if I change port or url from "localhost:6379" to something different I receive an error: Redis connection to localhost:1 failed - connect ECONNREFUSED 127.0.0.1:1Error: connect ECONNREFUSED 127.0.0.1:1 Same thing during building project in the docker.