Add tests

This commit is contained in:
Ticruz
2025-02-04 13:21:23 +01:00
committed by Jon Staab
parent 917727c86f
commit 8a2b62f693
57 changed files with 9231 additions and 25 deletions
+5 -3
View File
@@ -53,9 +53,11 @@ export const collection = <T, LoadArgs extends any[]>({
pending.set(key, promise)
await promise
pending.delete(key)
try {
await promise
} finally {
pending.delete(key)
}
const fresh = indexStore.get().get(key)