Categories
Cryptocurrency Ethereum Mastering Development

Truffle test does nothing but compile work

I just started seeing solidity and truffle. I created a new project with the truffle init command and try this test code to verify the deployment of a contract. const GreeterContract = artifacts.require("Greeter"); contract("Greeter", (accounts) => { describe("deployment", () => { it("has been deployed successfully", async () => { const greeter = await GreeterContract.deployed(); assert(greeter, […]