fix tests

This commit is contained in:
dswbx
2025-06-17 13:34:31 +02:00
parent b87696a0db
commit f5ceffd80e

View File

@@ -17,7 +17,7 @@ export function cacheDriverTestSuite(
}, },
) { ) {
const { test, expect } = testRunner; const { test, expect } = testRunner;
const minTTL = options?.minTTL ?? 0; const minTTL = options?.minTTL ?? 1;
test("get within ttl", async () => { test("get within ttl", async () => {
const cache = makeCache(); const cache = makeCache();