add error when using deployAll

This commit is contained in:
Jonathan Rainville 2018-06-07 11:38:18 -04:00
parent a5ecd9f1f4
commit 9c9bb761a4
1 changed files with 6 additions and 0 deletions

View File

@ -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;