Skip to content

Commit

Permalink
chore: fix export test
Browse files Browse the repository at this point in the history
  • Loading branch information
jeswr committed Sep 18, 2023
1 parent f59d9cd commit 23aca8f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import {
isVerifiablePresentation,
getVerifiableCredential,
getVerifiableCredentialApiConfiguration,
getVerifiableCredentialFromResponse,
} from "./common/common";
import getVerifiableCredentialAllFromShape from "./lookup/derive";
import revokeVerifiableCredential from "./revoke/revoke";
Expand All @@ -36,6 +37,7 @@ describe("exports", () => {
it("includes all of the expected functions", () => {
expect(Object.keys(packageExports)).toEqual([
"issueVerifiableCredential",
"getVerifiableCredentialFromResponse",
"isVerifiableCredential",
"isVerifiablePresentation",
"getVerifiableCredential",
Expand All @@ -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,
Expand Down

0 comments on commit 23aca8f

Please sign in to comment.