mirror of
https://github.com/fluencelabs/fluence-js.git
synced 2025-06-22 12:21:32 +00:00
better
This commit is contained in:
@ -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({
|
||||
|
Reference in New Issue
Block a user