text: const SmartContract = artifacts.require("./SmartContract.sol");
  
  require("chai").use(require("chai-as-promised")).should();
  
  contract("SmartContract", (accounts) => {
    let smartContract;
  
    before(async () => {
      smartContract = await SmartContract.deployed();
    });
  
    describe("smartContract deployment", async () => {
      it("deploys successfully", async () => {
        const address = await smartContract.address;
        assert.notEqual(address, 0x0);
        assert.notEqual(address, "");
      });
  
      it("has correct name", async () => {
        const name = await smartContract.name(); //
        assert.equal(name, "Smart Contract");
      });
    });
  });
  