This commit is contained in:
Ivan Boldyrev
2024-01-04 18:46:21 +01:00
parent 698bb0e79e
commit 5a33b63eb7

View File

@ -73,10 +73,9 @@ describe("Sig service test suite", () => {
customSig.securityGuard = allowServiceFn("data", "provide_data");
assert(aqua["callSig"]);
const result: any = await aqua["callSig"](peer, { sigId: "CustomSig" });
const result = await aqua["callSig"](peer, { sigId: "CustomSig" });
expect.soft(typeof result).toBeTypeOf("boolean"); // KLUDGE to see result value.
expect.soft(result.keys()).toBeTypeOf("boolean"); // KLUDGE to see result value.
expect(result).toHaveProperty("success", true);
const isSigCorrect = await customSig.verify({