use console log

This commit is contained in:
Artsiom Shamsutdzinau 2024-01-04 19:11:53 +01:00
parent 5a33b63eb7
commit fe8a0cecae
No known key found for this signature in database
GPG Key ID: 2C0D1AA35BD2FF16

View File

@ -74,6 +74,12 @@ describe("Sig service test suite", () => {
assert(aqua["callSig"]);
const result = await aqua["callSig"](peer, { sigId: "CustomSig" });
// eslint-disable-next-line no-console
console.log(result);
// eslint-disable-next-line no-console
console.log(JSON.stringify(result, null, 2));
// eslint-disable-next-line no-console, @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-explicit-any, @typescript-eslint/consistent-type-assertions
console.log(JSON.stringify(Object.entries(result as any), null, 2));
expect.soft(typeof result).toBeTypeOf("boolean"); // KLUDGE to see result value.
expect(result).toHaveProperty("success", true);