Skip to content

Commit

Permalink
Uncomment helper functions
Browse files Browse the repository at this point in the history
Signed-off-by: PatStLouis <[email protected]>
  • Loading branch information
PatStLouis committed Dec 5, 2024
1 parent c92c45c commit 684bb39
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions tests/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ export const secureCredential = async ({
}
const {data, result, error} = await issuer.post({json: body});
if(!result || !result.ok) {
// console.warn(
// `initial vc creation failed for ${(result || error)?.requestUrl}`,
// error,
// JSON.stringify(data, null, 2)
// );
console.warn(
`initial vc creation failed for ${(result || error)?.requestUrl}`,
error,
JSON.stringify(data, null, 2)
);
return null;
}
return data;
Expand All @@ -93,11 +93,11 @@ export const createDisclosedVc = async ({
}
});
if(!result || !result.ok) {
// console.warn(
// `derived vc creation failed for ${(result || error)?.requestUrl}`,
// error,
// JSON.stringify(data, null, 2)
// );
console.warn(
`derived vc creation failed for ${(result || error)?.requestUrl}`,
error,
JSON.stringify(data, null, 2)
);
}
return {disclosedCredential: data};
};
Expand Down

0 comments on commit 684bb39

Please sign in to comment.