fix(tests): fix tests that fetched files from devleop

fix tests that fetched contracts from develop by changing to master
improve error logging for downloads
This commit is contained in:
Jonathan Rainville 2018-11-08 17:48:11 -05:00 committed by Iuri Matias
parent 51e39c5b74
commit ea2a656ec1
3 changed files with 2 additions and 5 deletions

View File

@ -128,7 +128,7 @@ class File {
} }
], (err, content) => { ], (err, content) => {
if (err) { if (err) {
console.error(__('Error while downloading the file'), err); console.error(__('Error while downloading the file'), url, err);
return callback(''); return callback('');
} }
callback(content.toString()); callback(content.toString());

View File

@ -14,7 +14,7 @@ class Simulator {
this.logger = options.logger; this.logger = options.logger;
} }
/*eslint complexity: ["error", 21]*/ /*eslint complexity: ["error", 22]*/
run(options) { run(options) {
let cmds = []; let cmds = [];

View File

@ -23,9 +23,6 @@ module.exports = {
Ownable: { Ownable: {
deploy: false deploy: false
}, },
SimpleStorageTest: {
args: [100]
},
SimpleStorage: { SimpleStorage: {
fromIndex: 0, fromIndex: 0,
args: [100], args: [100],