You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
625 B
21 lines
625 B
var assert = require('assert');
|
|
var web3 = require('../index.js');
|
|
var u = require('./test.utils.js');
|
|
|
|
describe('web3', function() {
|
|
u.methodExists(web3, 'sha3');
|
|
u.methodExists(web3, 'toAscii');
|
|
u.methodExists(web3, 'fromAscii');
|
|
u.methodExists(web3, 'toDecimal');
|
|
u.methodExists(web3, 'fromDecimal');
|
|
u.methodExists(web3, 'toEth');
|
|
u.methodExists(web3, 'setProvider');
|
|
u.methodExists(web3, 'reset');
|
|
|
|
u.propertyExists(web3, 'manager');
|
|
u.propertyExists(web3, 'providers');
|
|
u.propertyExists(web3, 'eth');
|
|
u.propertyExists(web3, 'db');
|
|
u.propertyExists(web3, 'shh');
|
|
});
|
|
|
|
|