Skip to content

Commit

Permalink
chore: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderPostma committed Oct 7, 2024
1 parent fe717b8 commit 5d548f5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/evaluation/selectFrom.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { SDJwt } from '@sd-jwt/core'
import { createHash } from 'crypto';
import fs from 'fs';

import { SDJwt } from '@sd-jwt/core';
import { Rules } from '@sphereon/pex-models';
import { IVerifiableCredential, WrappedVerifiableCredential } from '@sphereon/ssi-types';

Expand Down Expand Up @@ -1028,9 +1028,9 @@ describe('selectFrom tests', () => {

pex.evaluateCredentials(pd, result.verifiableCredential!);
const presentationResult = pex.presentationFrom(pd, result.verifiableCredential!);
const cred = await SDJwt.fromEncode(presentationResult.presentations[1].compactSdJwtVc, hasher)
const claims = await cred.getClaims(hasher)
console.log(claims)
const cred = await SDJwt.fromEncode(presentationResult.presentations[1].compactSdJwtVc, hasher);
const claims = await cred.getClaims(hasher);
console.log(claims);
expect(presentationResult).toBeDefined();
// TODO finish test
});
Expand Down

0 comments on commit 5d548f5

Please sign in to comment.