Fixed backend test
Run Tests on Branches / Detect Changes (push) Successful in 12s
Run Tests on Branches / Frontend Tests (push) Has been skipped
Run Tests on Branches / Frontend Mobile Tests (push) Successful in 1m34s
Run Tests on Branches / Backend Tests (push) Successful in 1m36s

This commit is contained in:
Antoni Nuñez Romeu
2026-07-14 13:38:16 +02:00
parent e281bd4fa8
commit 809d4b8a7f
-2
View File
@@ -46,8 +46,6 @@ redisClient.setEx = async (...args) => {
}
};
// Connect to Redis
await redisClient.connect();
// Connect to Redis — skip in test (services are mocked) or when REDIS_URL is unset
if (process.env.NODE_ENV !== 'test') {
await redisClient.connect();