Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const SimpleContract = artifacts.require("SimpleContract");
- contract('SimpleContract', (accounts) => {
- it("should return the name", async ()=> {
- const instance = await SimpleContract.deployed();
- const value = await instance.getName();
- assert.equal(value, 'my name');
- });
- });
Add Comment
Please, Sign In to add comment