mirror of https://github.com/embarklabs/embark.git
add error when using deployAll
This commit is contained in:
parent
a5ecd9f1f4
commit
9c9bb761a4
|
@ -37,6 +37,12 @@ module.exports = {
|
||||||
global.assert = assert;
|
global.assert = assert;
|
||||||
global.config = test.config.bind(test);
|
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
|
// TODO: this global here might not be necessary at all
|
||||||
global.web3 = global.embark.web3;
|
global.web3 = global.embark.web3;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue