aboutsummaryrefslogtreecommitdiffstats
path: root/test/web3.methods.js
blob: 3ff4103e3c8c8da2b197191d7e864aac4184e70a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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');
});