mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Squashed 'libjsqrc/ethereumjs/' changes from e1fcffc..edfb874
edfb874 changes in filter.js (not yet working) c2d9c1a toDecimal/fromDecimal is using bignumber.js now 81a5813 removed unused pieces of code 08e2696 removed send queues from providermanager c9693b4 contract.html example is working with sync api ceb4357 sync api tests running, removed unused pieces of code fc986a3 removed unused providers 0d2cccc http sync api git-subtree-dir: libjsqrc/ethereumjs git-subtree-split: edfb874527160cee14cca931377e55187b874cbe
This commit is contained in:
parent
ca8aa01b34
commit
f4bb060d50
@ -3,7 +3,6 @@ require('es6-promise').polyfill();
|
||||
var assert = require('assert');
|
||||
var web3 = require('../index.js');
|
||||
var u = require('./utils.js');
|
||||
web3.setProvider(new web3.providers.WebSocketProvider('http://localhost:8080')); // TODO: create some mock provider
|
||||
|
||||
describe('web3', function() {
|
||||
describe('db', function() {
|
||||
|
@ -3,7 +3,6 @@ require('es6-promise').polyfill();
|
||||
var assert = require('assert');
|
||||
var web3 = require('../index.js');
|
||||
var u = require('./utils.js');
|
||||
web3.setProvider(new web3.providers.WebSocketProvider('http://localhost:8080')); // TODO: create some mock provider
|
||||
|
||||
describe('web3', function() {
|
||||
describe('eth', function() {
|
||||
|
@ -3,7 +3,6 @@ require('es6-promise').polyfill();
|
||||
var assert = require('assert');
|
||||
var web3 = require('../index.js');
|
||||
var u = require('./utils.js');
|
||||
web3.setProvider(new web3.providers.WebSocketProvider('http://localhost:8080')); // TODO: create some mock provider
|
||||
|
||||
describe('web3', function() {
|
||||
describe('shh', function() {
|
||||
|
2
utils.js
2
utils.js
@ -8,7 +8,7 @@ var methodExists = function (object, method) {
|
||||
|
||||
var propertyExists = function (object, property) {
|
||||
it('should have property ' + property + ' implemented', function() {
|
||||
assert.equal('object', typeof object[property], 'property ' + property + ' is not implemented');
|
||||
assert.notEqual('undefined', typeof object[property], 'property ' + property + ' is not implemented');
|
||||
});
|
||||
};
|
||||
|
||||
|
@ -3,7 +3,6 @@ require('es6-promise').polyfill();
|
||||
var assert = require('assert');
|
||||
var web3 = require('../index.js');
|
||||
var u = require('./utils.js');
|
||||
web3.setProvider(new web3.providers.WebSocketProvider('http://localhost:8080')); // TODO: create some mock provider
|
||||
|
||||
describe('web3', function() {
|
||||
u.methodExists(web3, 'sha3');
|
||||
|
Loading…
Reference in New Issue
Block a user