@sphereon/did-auth-siop
Version:
Self Issued OpenID V2 (SIOPv2) and OpenID 4 Verifiable Presentations (OID4VP)
13 lines (10 loc) • 370 B
text/typescript
import { PEX } from '@sphereon/pex'
import { anyDef, VCs } from './fixtures'
describe('auth0 presentation tool', () => {
it('any match definition should return all credentials', async () => {
const pex = new PEX()
expect(VCs).toHaveLength(5)
const selectResult = await pex.selectFrom(anyDef, VCs)
expect(selectResult.matches).toHaveLength(5)
})
})