Skip to content

Commit

Permalink
fix: fixed LocalLRUCache suite
Browse files Browse the repository at this point in the history
Signed-off-by: Logan Nguyen <logan.nguyen@swirldslabs.com>
  • Loading branch information
quiet-node committed Jan 31, 2025
1 parent f9994b8 commit 370de1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/relay/tests/lib/clients/localLRUCache.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ describe('LocalLRUCache Test Suite', async function () {
});

// set default cache ttl to 100ms to test the default ttl will be overridden by the ttl passed in set method
withOverriddenEnvsInMochaTest({ CACHE_TTL: '100' }, async () => {
withOverriddenEnvsInMochaTest({ CACHE_TTL: 100 }, async () => {
it('it should set without TTL if -1 is passed for TTL', async () => {
const customLocalLRUCache = new LocalLRUCache(logger.child({ name: `cache` }), registry);
const lruCacheSpy = sinon.spy(customLocalLRUCache['cache']);
Expand Down

0 comments on commit 370de1b

Please sign in to comment.