web3.js/test/shh.methods.js

16 lines
458 B
JavaScript
Raw Normal View History

var assert = require('assert');
var web3 = require('../index.js');
2015-02-03 18:48:51 +00:00
var u = require('./test.utils.js');
describe('web3', function() {
describe('shh', function() {
u.methodExists(web3.shh, 'post');
u.methodExists(web3.shh, 'newIdentity');
u.methodExists(web3.shh, 'hasIdentity');
u.methodExists(web3.shh, 'newGroup');
u.methodExists(web3.shh, 'addToGroup');
u.methodExists(web3.shh, 'filter');
});
});