Skip to content

Commit

Permalink
In test project do not show keyType undefined.
Browse files Browse the repository at this point in the history
  • Loading branch information
aljones15 committed Sep 6, 2024
1 parent 024ab15 commit d9494af
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/20-verifier.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@ function _runSuite({
vcVersion, testDataOptions, credential
}) {
const {suiteName, keyType} = testDataOptions;
return describe(`VC ${vcVersion} Suite ${suiteName} keyType ${keyType}`,
let testTitle = `VC ${vcVersion} Suite ${suiteName}`;
if(keyType) {
testTitle += ` keyType ${keyType}`;
}
return describe(testTitle,
async function() {
before(async function() {
testDataOptions.testVector = structuredClone(credential);
Expand Down

0 comments on commit d9494af

Please sign in to comment.