From c456c405c481fa90c5f1d0e0a65cc22a63f6d78b Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Sat, 10 Mar 2018 12:52:37 -0500 Subject: [PATCH] update tests --- lib/index.js | 1 - test_app/test/another_storage_spec.js | 6 ++++++ test_app/test/array_references_spec.js | 6 ++++++ test_app/test/lib_test_spec.js | 6 ++++++ test_app/test/simple_storage_spec.js | 6 ++++++ test_app/test/token_spec.js | 6 ++++++ 6 files changed, 30 insertions(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index 6db66ce3..bdecbacc 100644 --- a/lib/index.js +++ b/lib/index.js @@ -83,7 +83,6 @@ class Embark { }); engine.logger.info('dashboard start'); - callback(); }); }, diff --git a/test_app/test/another_storage_spec.js b/test_app/test/another_storage_spec.js index 8b65fa74..ec19e7c3 100644 --- a/test_app/test/another_storage_spec.js +++ b/test_app/test/another_storage_spec.js @@ -20,6 +20,12 @@ contract("AnotherStorage", function() { instanceOf: "Token", args: [2000] }, + "ContractArgs": { + "args": { + "initialValue": 123, + "_addresses": ["$MyToken2", "$SimpleStorage"] + } + }, "SomeContract": { "args": [ ["$MyToken2", "$SimpleStorage"], diff --git a/test_app/test/array_references_spec.js b/test_app/test/array_references_spec.js index 238697b4..271c0aba 100644 --- a/test_app/test/array_references_spec.js +++ b/test_app/test/array_references_spec.js @@ -20,6 +20,12 @@ contract("SomeContract", function() { instanceOf: "Token", args: [2000] }, + "ContractArgs": { + "args": { + "initialValue": 123, + "_addresses": ["$MyToken2", "$SimpleStorage"] + } + }, "SomeContract": { "args": [ ["$MyToken2", "$SimpleStorage"], diff --git a/test_app/test/lib_test_spec.js b/test_app/test/lib_test_spec.js index a0b878d4..cac9c61c 100644 --- a/test_app/test/lib_test_spec.js +++ b/test_app/test/lib_test_spec.js @@ -25,6 +25,12 @@ contract("Test", function() { instanceOf: "Token", args: [2000] }, + "ContractArgs": { + "args": { + "initialValue": 123, + "_addresses": ["$MyToken2", "$SimpleStorage"] + } + }, "SomeContract": { "args": [ ["$MyToken2", "$SimpleStorage"], diff --git a/test_app/test/simple_storage_spec.js b/test_app/test/simple_storage_spec.js index c0d7eeff..bc9ae5d4 100644 --- a/test_app/test/simple_storage_spec.js +++ b/test_app/test/simple_storage_spec.js @@ -27,6 +27,12 @@ contract("SimpleStorage", function() { instanceOf: "Token", args: [2000] }, + "ContractArgs": { + "args": { + "initialValue": 123, + "_addresses": ["$MyToken2", "$SimpleStorage"] + } + }, "SomeContract": { "args": [ ["$MyToken2", "$SimpleStorage"], diff --git a/test_app/test/token_spec.js b/test_app/test/token_spec.js index 51a9c68b..21f74c11 100644 --- a/test_app/test/token_spec.js +++ b/test_app/test/token_spec.js @@ -36,6 +36,12 @@ describe("Token", function() { "Test.methods.changeAddress('$MyToken').send()" ] }, + "ContractArgs": { + "args": { + "initialValue": 123, + "_addresses": ["$MyToken2", "$SimpleStorage"] + } + }, "SomeContract": { "args": [ ["$MyToken2", "$SimpleStorage"],