mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
dda1788082
ec74fc0 gulp 46b932c negative integers support f85f77f fixed typos 6a4b4f3 fixed readme d0473d6 gulp 70bf1a5 fixed typos bacc5aa methodExists and propertyExists are now separated tests 472ad43 more comments 603c790 next part of abi.js parsers tests and fixes b0a9bbf next part of abi.js docs 6b2ec23 formatting bool tests and fixes ed1cb9e simplifid abi.js methods 17f2f12 gulp 12bdb5f providers documentation 8d1f96c few comments 422dc05 ProviderManager separated to providermanager.js file 9a8f45e Filter separated to filter.js file 8b7d4b0 beginning of comments in web3 ee167e5 test for parsing multiple methods description 4056c04 tests... 1428dce web3.contract -> web3.eth.contract f3b71a7 removed unused line 380d986 tests in progress, fixed utf characters conversion in toAscii 9e0de57 mocha test reporter f6ff1f1 mocha reporter name starts with lower case letter 7595a5d removed padding calculation from ethereum.js, padding is always 32 9a9987a Merge commit 'a1023a5dffee7c06e8b75a21f5c9b8826e820942' into develop 5582901 Various fixes to ethereum.js and client web API stuff. ded221f Merge commit 'ab745d3b0eb89d67db1ed953020c665be3d072ed' into develop git-subtree-dir: libjsqrc/ethereumjs git-subtree-split: ec74fc05d438806ece64fe34b0f28c8f45f5167e
17 lines
508 B
JavaScript
17 lines
508 B
JavaScript
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');
|
|
u.methodExists(web3, 'toAscii');
|
|
u.methodExists(web3, 'fromAscii');
|
|
u.methodExists(web3, 'toFixed');
|
|
u.methodExists(web3, 'fromFixed');
|
|
u.methodExists(web3, 'offset');
|
|
});
|
|
|