feat(core): Enhanced caching solution with optional configurations and improved documentation.

This commit is contained in:
2024-11-24 20:16:25 +01:00
parent e45c662658
commit 75140e9d70
8 changed files with 6659 additions and 3856 deletions

View File

@ -35,7 +35,7 @@ tap.test('should respect ttl', async (tools) => {
);
const result = await testLevelCache.retrieveCacheEntryByKey('mykey');
expect(result.contents.toString()).toEqual('heythere');
await tools.delayFor(1100);
await tools!.delayFor(1100);
const result2 = await testLevelCache.retrieveCacheEntryByKey('mykey');
expect(result2).toBeNull();
});