Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilianoSanchez committed Nov 30, 2023
1 parent 81b4382 commit 355a4bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/storages/inRedis/__tests__/SplitsCacheInRedis.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down Expand Up @@ -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'));
Expand Down

0 comments on commit 355a4bd

Please sign in to comment.