From 355a4bdefe33c23161eeb30536fbb1315c4136da Mon Sep 17 00:00:00 2001 From: Emiliano Sanchez Date: Thu, 30 Nov 2023 13:03:07 -0300 Subject: [PATCH] Update comments --- src/storages/inRedis/__tests__/SplitsCacheInRedis.spec.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/storages/inRedis/__tests__/SplitsCacheInRedis.spec.ts b/src/storages/inRedis/__tests__/SplitsCacheInRedis.spec.ts index c7ad85c7..60867f83 100644 --- a/src/storages/inRedis/__tests__/SplitsCacheInRedis.spec.ts +++ b/src/storages/inRedis/__tests__/SplitsCacheInRedis.spec.ts @@ -52,6 +52,7 @@ describe('SPLITS CACHE REDIS', () => { expect(splits['lol1']).toEqual(null); expect(splits['lol2']).toEqual(splitWithAccountTT); + // Teardown @TODO use cache clear method when implemented await connection.del(keysBuilder.buildTrafficTypeKey('account_tt')); await connection.del(keysBuilder.buildSplitKey('lol2')); await connection.del(keysBuilder.buildSplitsTillKey()); @@ -100,6 +101,7 @@ describe('SPLITS CACHE REDIS', () => { expect(await cache.trafficTypeExists('account_tt')).toBe(true); expect(await cache.trafficTypeExists('user_tt')).toBe(false); + // Teardown @TODO use cache clear method when implemented await connection.del(keysBuilder.buildTrafficTypeKey('account_tt')); await connection.del(keysBuilder.buildSplitKey('malformed')); await connection.del(keysBuilder.buildSplitKey('split1'));