mirror of
https://github.com/embarklabs/dapp-bin.git
synced 2026-08-31 13:41:08 +00:00
25 lines
585 B
JavaScript
25 lines
585 B
JavaScript
//let SimpleStorage = require('Embark/contracts/SimpleStorage');
|
|
//
|
|
//config({
|
|
// contracts: {
|
|
// SimpleStorage: {
|
|
// args: [100]
|
|
// }
|
|
// }
|
|
//});
|
|
//
|
|
//describe("SimpleStorage", function() {
|
|
//
|
|
// it("should set constructor value", async function() {
|
|
// let result = await SimpleStorage.methods.storedData().call();
|
|
// assert.equal(result, 100);
|
|
// });
|
|
//
|
|
// it("set storage value", async function() {
|
|
// await SimpleStorage.methods.set(150).send();
|
|
// let result = await SimpleStorage.methods.get().call();
|
|
// assert.equal(result, 150);
|
|
// });
|
|
//
|
|
//});
|