From 2e954f3fc65b7064896694b088e2f3b85d2e349d Mon Sep 17 00:00:00 2001 From: Spring Chiu Date: Mon, 11 Dec 2023 00:00:29 +0800 Subject: [PATCH] chore: remove dep warn and add debug info --- examples/__tests__/standard-nft/test_approval.ava.js | 2 +- examples/__tests__/standard-nft/test_core.ava.js | 3 +++ pnpm-lock.yaml | 1 - 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/__tests__/standard-nft/test_approval.ava.js b/examples/__tests__/standard-nft/test_approval.ava.js index ba735119..9d3243ee 100644 --- a/examples/__tests__/standard-nft/test_approval.ava.js +++ b/examples/__tests__/standard-nft/test_approval.ava.js @@ -161,7 +161,7 @@ test("Approve call", async (t) => { account_id: approvalReceiver.accountId, msg: "return-now", }, - { attachedDeposit: "600000000000000000000", gas: "300 Tgas" } + { attachedDeposit: "610000000000000000000", gas: "300 Tgas" } ); t.is(res, "cool"); diff --git a/examples/__tests__/standard-nft/test_core.ava.js b/examples/__tests__/standard-nft/test_core.ava.js index b91ba23e..39af464c 100644 --- a/examples/__tests__/standard-nft/test_core.ava.js +++ b/examples/__tests__/standard-nft/test_core.ava.js @@ -109,6 +109,7 @@ test("Transfer call fast return to sender", async (t) => { }, { attachedDeposit: "1", gas: MAX_GAS } ); + console.log("res.result=", res.result); t.is( Buffer.from(res.result.status.SuccessValue, "base64").toString(), "false" @@ -132,6 +133,7 @@ test("Transfer call slow return to sender", async (t) => { }, { attachedDeposit: "1", gas: MAX_GAS } ); + console.log("res.result=", res.result); t.is( Buffer.from(res.result.status.SuccessValue, "base64").toString(), "false" @@ -201,6 +203,7 @@ test("Transfer call receiver panics", async (t) => { }, { attachedDeposit: "1", gas: MAX_GAS } ); + console.log("res.result=", res.result); t.is( Buffer.from(res.result.status.SuccessValue, "base64").toString(), "false" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0629b514..258bd067 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2881,7 +2881,6 @@ packages: resolution: {integrity: sha512-RVDI8O+KVxRpC3KycJ1bpfVj9Zv+xvq9PlW1yIFl46GhrnLw83/72HqHGjGDjQ8DtltkcpSjY9X3YIGZ+1QyzQ==} dependencies: '@types/json-schema': 7.0.15 - dev: false /near-api-js@2.1.4: resolution: {integrity: sha512-e1XicyvJvQMtu7qrG8oWyAdjHJJCoy+cvbW6h2Dky4yj7vC85omQz/x7IgKl71VhzDj2/TGUwjTVESp6NSe75A==}