Skip to content

Commit

Permalink
Fixing unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Pauan committed Sep 23, 2024
1 parent 776ab5c commit 95cf64f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/tests/key-provider.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe('KeyProvider', () => {
expect(verifyingKey).instanceof(VerifyingKey);

const transferCacheKey = keyProvider.cache.keys().next().value;
const [cachedProvingKey, cachedVerifyingKey] = <CachedKeyPair>keyProvider.cache.get(transferCacheKey);
const [cachedProvingKey, cachedVerifyingKey] = <CachedKeyPair>keyProvider.cache.get(transferCacheKey!);
expect(cachedProvingKey).instanceof(Uint8Array);
expect(cachedVerifyingKey).instanceof(Uint8Array);

Expand Down

0 comments on commit 95cf64f

Please sign in to comment.