Skip to content

Commit

Permalink
Move invalidCryptosuite to mandatory & better comment gens.
Browse files Browse the repository at this point in the history
  • Loading branch information
aljones15 committed Jun 17, 2024
1 parent f62c374 commit 4acd48d
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions vc-generator/generators.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,32 @@ const {CredentialIssuancePurpose} = vc;

// generator categories
export const generators = {
// creates test vectors for `proof.created`
created: {
noCreated,
invalidCreated,
vcCreatedOneYearAgo
},
// creates test vectors for Authentication Purpose tests
authentication: {
invalidDomain,
invalidChallenge
},
// these generators are needed for DI specific tests
// and maybe be needed in suite specific tests
mandatory: {
noVerificationMethod,
noProofPurpose,
issuedVc,
invalidCryptosuite,
invalidProofPurpose,
invalidProofType,
noVerificationMethod,
invalidVm,
noProofPurpose,
invalidProofPurpose
},
// creates a set of shared test vector generators
shared: {
invalidCryptosuite
}
// not necessarily used in DI Assertion itself, but used
// in multiple suites
shared: {}
};

/**
Expand Down

0 comments on commit 4acd48d

Please sign in to comment.