forked from cerc-io/plugeth
16 lines
392 B
JavaScript
16 lines
392 B
JavaScript
require('es6-promise').polyfill();
|
|
|
|
var assert = require('assert');
|
|
var web3 = require('../index.js');
|
|
var u = require('./utils.js');
|
|
|
|
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');
|
|
});
|
|
|