Skip to content

Commit

Permalink
remove test
Browse files Browse the repository at this point in the history
  • Loading branch information
vmidyllic committed Oct 25, 2023
1 parent f0e0230 commit 0a3bfb7
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions tests/credentials/credential-wallet.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -423,19 +423,4 @@ describe('credential-wallet', () => {
expect(proof.issuerData.state.claimsTreeRoot.bigInt().toString()).to.equal(mockedProof.issuerData.state.claimsTreeRoot.bigInt().toString());

});
it('Backward compatibility test - hash-as-json-bytes', async () => {
const credentialStorage = new CredentialStorage(
mockedDataSource
);

// hash-as-string-ints
const cred = await credentialStorage.findCredentialById(MockedLegacyCredential.id);
expect(cred?.proof).not.to.be.undefined;
const proof = (cred?.proof as unknown[])[0] as Iden3SparseMerkleTreeProof;


const credJSON = cred!.toJSON();

});

});

0 comments on commit 0a3bfb7

Please sign in to comment.