npv2k1 / web3-todo-app

Invalid async keyword JS-0376
Anti-pattern
Minor
a year agoa year old
Async arrow function has no 'await' expression
 80    // expect(total).to.be.a.b
 81  });
 82
 83  describe("Test mint and burn function", async () => { 84    it("burn token", async () => {
 85      const totalSupplyBefore = await token.totalSupply();
 86      const burnFromAddress = owner.address;
Async arrow function has no 'await' expression
 58  });
 59
 60  // Hiển thị địa chỉ smart contract
 61  it("Contract address", async () => { 62    console.log("Contract address", token.address);
 63  });
 64