diff --git a/packages/embark/src/lib/modules/tests/test.js b/packages/embark/src/lib/modules/tests/test.js index 605a36512..2afe347d5 100644 --- a/packages/embark/src/lib/modules/tests/test.js +++ b/packages/embark/src/lib/modules/tests/test.js @@ -34,7 +34,13 @@ class Test { init(callback) { this.gasLimit = constants.tests.gasLimit; this.events.request('deploy:setGasLimit', this.gasLimit); + const waitingForReady = setTimeout(() => { + this.logger.warn('Waiting for the blockchain connector to be ready...'); + // TODO add docs link to how to install one + this.logger.warn('If you did not install a blockchain connector, stop this process and install one'); + }, 5000); this.events.request('blockchain:connector:ready', () => { + clearTimeout(waitingForReady); if (this.options.node !== 'embark') { this.showNodeHttpWarning(); return callback(); diff --git a/test_dapps/test_app/package.json b/test_dapps/test_app/package.json index 3bcfcf3a5..853ce4619 100644 --- a/test_dapps/test_app/package.json +++ b/test_dapps/test_app/package.json @@ -11,8 +11,7 @@ "react-bootstrap": "0.32.4", "react-dom": "16.7.0", "rimraf": "2.6.3", - "zeppelin-solidity": "1.12.0", - "web3Connector": "file:../../../packages/web3Connector" + "zeppelin-solidity": "1.12.0" }, "name": "test_app", "private": true, diff --git a/test_dapps/test_app/test/namesystem_spec.js b/test_dapps/test_app/test/namesystem_spec.js index aeffbca3b..aa4024000 100644 --- a/test_dapps/test_app/test/namesystem_spec.js +++ b/test_dapps/test_app/test/namesystem_spec.js @@ -1,4 +1,4 @@ -/*global describe, it, web3, config*/ +/*global describe, it, config*/ const assert = require('assert'); const MyToken = require('Embark/contracts/MyToken'); const MyToken2 = require('Embark/contracts/MyToken2');