embark/templates/simple/test/contract_spec.js

25 lines
664 B
JavaScript
Raw Normal View History

2018-03-29 23:42:47 +00:00
//describe("SimpleStorage", function() {
// this.timeout(0);
// before(function(done) {
// this.timeout(0);
// var contractsConfig = {
// "SimpleStorage": {
// args: [100]
// }
// };
// EmbarkSpec.deployAll(contractsConfig, () => { done() });
// });
//
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);
2018-03-29 23:42:47 +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);
2018-03-29 23:42:47 +00:00
// });
//
//});