Skip to content

Instantly share code, notes, and snippets.

@yurenju
Created March 19, 2020 00:05
Show Gist options
  • Save yurenju/dc79c4cd9051ac3c6c6efd93bab51e48 to your computer and use it in GitHub Desktop.
Save yurenju/dc79c4cd9051ac3c6c6efd93bab51e48 to your computer and use it in GitHub Desktop.
const SKEToken = artifacts.require("SKEToken");
contract("2nd SKEToken test", async ([deployer, user1]) => {
it("should put 10000 SKEToken in the first account", async () => {
const token = await SKEToken.new(10000, { from: deployer });
let balance = await token.balanceOf(deployer);
assert.equal(balance.valueOf(), 10000);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment