Fixed backend test

This commit is contained in:
Antoni Nuñez Romeu
2026-07-14 13:38:16 +02:00
parent 8245abd313
commit 562201869a
-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();