2015-01-11 16:54:36 +00:00
|
|
|
require('es6-promise').polyfill();
|
|
|
|
|
|
|
|
var assert = require('assert');
|
|
|
|
var web3 = require('../index.js');
|
|
|
|
var u = require('./utils.js');
|
|
|
|
|
|
|
|
describe('web3', function() {
|
2015-01-15 10:38:21 +00:00
|
|
|
u.methodExists(web3, 'sha3');
|
|
|
|
u.methodExists(web3, 'toAscii');
|
|
|
|
u.methodExists(web3, 'fromAscii');
|
|
|
|
u.methodExists(web3, 'toFixed');
|
|
|
|
u.methodExists(web3, 'fromFixed');
|
|
|
|
u.methodExists(web3, 'offset');
|
2015-01-11 16:54:36 +00:00
|
|
|
});
|
|
|
|
|