update tests

This commit is contained in:
Iuri Matias 2018-01-23 19:36:02 -05:00
parent 8bd82696c1
commit 5c5ef44f2f
2 changed files with 7 additions and 3 deletions

View File

@ -4,7 +4,7 @@ var fs = require('../../core/fs.js');
var GethCommands = require('./geth_commands.js'); var GethCommands = require('./geth_commands.js');
/*eslint complexity: ["error", 31]*/ /*eslint complexity: ["error", 35]*/
var Blockchain = function(options) { var Blockchain = function(options) {
this.blockchainConfig = options.blockchainConfig; this.blockchainConfig = options.blockchainConfig;
this.env = options.env || 'development'; this.env = options.env || 'development';

View File

@ -36,7 +36,9 @@ describe('embark.Blockchain', function () {
wsOrigins: false, wsOrigins: false,
wsPort: 8546, wsPort: 8546,
wsRPC: true, wsRPC: true,
targetGasLimit: false targetGasLimit: false,
fast: false,
light: false
}; };
let blockchain = new Blockchain(config, 'geth'); let blockchain = new Blockchain(config, 'geth');
@ -71,7 +73,9 @@ describe('embark.Blockchain', function () {
wsOrigins: false, wsOrigins: false,
wsPort: 8546, wsPort: 8546,
wsRPC: true, wsRPC: true,
targetGasLimit: false targetGasLimit: false,
fast: false,
light: false
}; };
let blockchain = new Blockchain(config, 'geth'); let blockchain = new Blockchain(config, 'geth');