From 9c9bb761a4b766acb606b1b7250208838bcfade3 Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Thu, 7 Jun 2018 11:38:18 -0400 Subject: [PATCH] add error when using deployAll --- lib/tests/run_tests.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/tests/run_tests.js b/lib/tests/run_tests.js index 17872ff87..505d8e2cd 100644 --- a/lib/tests/run_tests.js +++ b/lib/tests/run_tests.js @@ -37,6 +37,12 @@ module.exports = { global.assert = assert; global.config = test.config.bind(test); + global.deployAll = function () { + console.error(__('%s is not supported anymore', 'deployAll').red); + console.info(__('You can learn about the new revamped tests here: %s', 'https://embark.status.im/docs/testing.html'.underline)); + process.exit(); + }; + // TODO: this global here might not be necessary at all global.web3 = global.embark.web3;