plugeth/test/web3.methods.js

14 lines
356 B
JavaScript

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');
});