From 23aca8f28ea389412d8912f6ce4d4fd68f341eff Mon Sep 17 00:00:00 2001 From: Jesse Wright <63333554+jeswr@users.noreply.github.com> Date: Mon, 18 Sep 2023 09:30:18 +0900 Subject: [PATCH] chore: fix export test --- src/index.test.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/index.test.ts b/src/index.test.ts index d7732fa0..cce31320 100644 --- a/src/index.test.ts +++ b/src/index.test.ts @@ -26,6 +26,7 @@ import { isVerifiablePresentation, getVerifiableCredential, getVerifiableCredentialApiConfiguration, + getVerifiableCredentialFromResponse, } from "./common/common"; import getVerifiableCredentialAllFromShape from "./lookup/derive"; import revokeVerifiableCredential from "./revoke/revoke"; @@ -36,6 +37,7 @@ describe("exports", () => { it("includes all of the expected functions", () => { expect(Object.keys(packageExports)).toEqual([ "issueVerifiableCredential", + "getVerifiableCredentialFromResponse", "isVerifiableCredential", "isVerifiablePresentation", "getVerifiableCredential", @@ -49,6 +51,9 @@ describe("exports", () => { expect(packageExports.issueVerifiableCredential).toBe( issueVerifiableCredential, ); + expect(packageExports.getVerifiableCredentialFromResponse).toBe( + getVerifiableCredentialFromResponse, + ); expect(packageExports.isVerifiableCredential).toBe(isVerifiableCredential); expect(packageExports.isVerifiablePresentation).toBe( isVerifiablePresentation,