update tests

This commit is contained in:
Iuri Matias 2018-01-17 11:29:30 -05:00
parent 7b58a770d9
commit 7e8a594bf9
2 changed files with 5 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", 30]*/ /*eslint complexity: ["error", 31]*/
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

@ -35,7 +35,8 @@ describe('embark.Blockchain', function () {
wsHost: "localhost", wsHost: "localhost",
wsOrigins: false, wsOrigins: false,
wsPort: 8546, wsPort: 8546,
wsRPC: true wsRPC: true,
targetGasLimit: false
}; };
let blockchain = new Blockchain(config, 'geth'); let blockchain = new Blockchain(config, 'geth');
@ -69,7 +70,8 @@ describe('embark.Blockchain', function () {
wsHost: "localhost", wsHost: "localhost",
wsOrigins: false, wsOrigins: false,
wsPort: 8546, wsPort: 8546,
wsRPC: true wsRPC: true,
targetGasLimit: false
}; };
let blockchain = new Blockchain(config, 'geth'); let blockchain = new Blockchain(config, 'geth');