diff --git a/.changeset/red-ligers-invent.md b/.changeset/red-ligers-invent.md new file mode 100644 index 00000000000..8a94834c995 --- /dev/null +++ b/.changeset/red-ligers-invent.md @@ -0,0 +1,4 @@ +--- +--- + +chore: fixed interplay with resource cache tests diff --git a/packages/account/src/providers/resource-cache.test.ts b/packages/account/src/providers/resource-cache.test.ts index 9b024055d1a..f4f42839162 100644 --- a/packages/account/src/providers/resource-cache.test.ts +++ b/packages/account/src/providers/resource-cache.test.ts @@ -10,6 +10,12 @@ import { ResourceCache } from './resource-cache'; describe('Resource Cache', () => { const randomValue = () => hexlify(randomBytes(32)); + afterEach(() => { + // Reset the cache after each test + const resourceCache = new ResourceCache(1000); + resourceCache.clear(); + }); + it('can instantiate [valid numerical ttl]', () => { const memCache = new ResourceCache(1000);