mirror of
https://github.com/fluencelabs/fluence-js.git
synced 2025-05-11 17:07:13 +00:00
Fix kludge
This commit is contained in:
parent
8c7c714410
commit
42068ac862
@ -75,8 +75,8 @@ describe("Sig service test suite", () => {
|
|||||||
assert(aqua["callSig"]);
|
assert(aqua["callSig"]);
|
||||||
const result = await aqua["callSig"](peer, { sigId: "CustomSig" });
|
const result = await aqua["callSig"](peer, { sigId: "CustomSig" });
|
||||||
|
|
||||||
expect(typeof result).soft().toBeTypeOf("boolean"); // KLUDGE to see result value.
|
expect.soft(typeof result).toBeTypeOf("boolean"); // KLUDGE to see result value.
|
||||||
expect(result.keys()).soft().toBeTypeOf("boolean"); // KLUDGE to see result value.
|
expect.soft(result.keys()).toBeTypeOf("boolean"); // KLUDGE to see result value.
|
||||||
expect(result).toHaveProperty("success", true);
|
expect(result).toHaveProperty("success", true);
|
||||||
|
|
||||||
const isSigCorrect = await customSig.verify({
|
const isSigCorrect = await customSig.verify({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user