mirror of
https://github.com/fluencelabs/fluence-js.git
synced 2024-12-05 02:10:18 +00:00
disable checks for the file
This commit is contained in:
parent
fe8a0cecae
commit
d0e9575549
@ -14,6 +14,9 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* eslint-disable */
|
||||||
|
// @ts-nocheck
|
||||||
|
|
||||||
import * as path from "path";
|
import * as path from "path";
|
||||||
import * as url from "url";
|
import * as url from "url";
|
||||||
|
|
||||||
@ -74,14 +77,9 @@ 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" });
|
||||||
// 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.
|
console.log(result);
|
||||||
|
|
||||||
expect(result).toHaveProperty("success", true);
|
expect(result).toHaveProperty("success", true);
|
||||||
|
|
||||||
const isSigCorrect = await customSig.verify({
|
const isSigCorrect = await customSig.verify({
|
||||||
|
Loading…
Reference in New Issue
Block a user