embark/templates/boilerplate/test/contract_spec.js

25 lines
664 B
JavaScript
Raw Normal View History

2018-01-12 23:11:24 +00:00
//describe("SimpleStorage", function() {
// this.timeout(0);
2016-10-02 23:13:46 +00:00
// before(function(done) {
// this.timeout(0);
2016-10-02 23:13:46 +00:00
// var contractsConfig = {
// "SimpleStorage": {
2018-01-12 23:11:24 +00:00
// args: [100]
2016-10-02 23:13:46 +00:00
// }
// };
2018-01-12 23:11:24 +00:00
// EmbarkSpec.deployAll(contractsConfig, () => { done() });
2016-10-02 23:13:46 +00:00
// });
//
2018-04-17 18:48:31 +00:00
// it("should set constructor value", async function() {
// let result = await SimpleStorage.methods.storedData().call();
// assert.equal(result, 100);
2016-10-02 23:13:46 +00:00
// });
//
2018-04-17 18:48:31 +00:00
// it("set storage value", async function() {
// await SimpleStorage.methods.set(150).send();
// let result = await SimpleStorage.methods.get().call();
// assert.equal(result, 150);
2016-10-02 23:13:46 +00:00
// });
//
2018-01-12 23:11:24 +00:00
//});