From e892baea3950469d74fd9a7983909c984999d56d Mon Sep 17 00:00:00 2001 From: volodymyr-basiuk <31999965+volodymyr-basiuk@users.noreply.github.com> Date: Tue, 30 Jan 2024 17:59:40 +0200 Subject: [PATCH] test full verify (#79) * test full verify * add testOpts --- test/linked-proofs.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/linked-proofs.test.ts b/test/linked-proofs.test.ts index fd7a7b3..0675bb0 100644 --- a/test/linked-proofs.test.ts +++ b/test/linked-proofs.test.ts @@ -1,6 +1,6 @@ import { AuthorizationRequestMessage, CircuitId } from '@0xpolygonid/js-sdk'; import { Verifier } from '@lib/auth/auth'; -import { resolvers, schemaLoader } from './mocks'; +import { resolvers, schemaLoader, testOpts } from './mocks'; import path from 'path'; import { PROTOCOL_CONSTANTS } from '@0xpolygonid/js-sdk'; @@ -88,6 +88,6 @@ describe('Linked proofs verification', () => { documentLoader: schemaLoader }); - verifier.fullVerify(tokenString, authRequest); + await verifier.fullVerify(tokenString, authRequest, testOpts); }); });