tests: less chatty transaction sending tests
This commit is contained in:
parent
60d7709069
commit
62b358024b
@ -23,7 +23,7 @@ describe("Sends Transactions", function() {
|
|||||||
// this process from exiting
|
// this process from exiting
|
||||||
if ((<any>provider).destroy) { cleanup.push(() => { (<any>provider).destroy(); }); }
|
if ((<any>provider).destroy) { cleanup.push(() => { (<any>provider).destroy(); }); }
|
||||||
|
|
||||||
it(`tests sending: ${ providerName }.`, async function() {
|
it(`tests sending: ${ providerName }`, async function() {
|
||||||
this.timeout(60000);
|
this.timeout(60000);
|
||||||
|
|
||||||
const w = wallet.connect(provider);
|
const w = wallet.connect(provider);
|
||||||
@ -36,8 +36,9 @@ describe("Sends Transactions", function() {
|
|||||||
type: 2
|
type: 2
|
||||||
});
|
});
|
||||||
|
|
||||||
const receipt = await provider.waitForTransaction(tx.hash); //tx.wait();
|
//const receipt =
|
||||||
console.log(receipt);
|
await provider.waitForTransaction(tx.hash); //tx.wait();
|
||||||
|
//console.log(receipt);
|
||||||
|
|
||||||
const balance = await provider.getBalance(dustAddr);
|
const balance = await provider.getBalance(dustAddr);
|
||||||
assert.equal(balance, BigInt(42), "target balance after send");
|
assert.equal(balance, BigInt(42), "target balance after send");
|
||||||
|
Loading…
Reference in New Issue
Block a user