Created
September 5, 2018 22:27
-
-
Save Fallenstedt/2412578d7d7bb6a0f3e7311cc9151201 to your computer and use it in GitHub Desktop.
TestCampaignToken
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const CampaignToken = artifacts.require("CampaignToken"); | |
contract("CampaignToken", async accounts => { | |
it("should deploy with an inital supply", async () => { | |
const instance = await CampaignToken.deployed(); | |
const totalSupply = await instance.totalSupply(); | |
console.log("totalSupply", totalSupply); | |
assert.equal(10000, totalSupply, "balance is not equal"); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment