Skip to content

Commit

Permalink
Import mock.data in verify & export credentials from mock.data.
Browse files Browse the repository at this point in the history
  • Loading branch information
aljones15 committed Apr 29, 2024
1 parent a5fd168 commit be2533e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions test/10-verify.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import * as Bls12381Multikey from '@digitalbazaar/bls12-381-multikey';
import * as EcdsaMultikey from '@digitalbazaar/ecdsa-multikey';
import * as ecdsaSd2023Cryptosuite from
'@digitalbazaar/ecdsa-sd-2023-cryptosuite';
import * as mockData from './mocks/mock.data.js';
import * as vc from '../lib/index.js';
import {
documentLoader,
Expand Down
2 changes: 1 addition & 1 deletion test/mocks/mock.data.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const _mixedCredential = () => {
};
};

const credentials = mock.credentials = {};
export const credentials = mock.credentials = {};
credentials.mixed = _mixedCredential();

credentials.alpha = {
Expand Down

0 comments on commit be2533e

Please sign in to comment.