web3.js/test/web3.shh.methods.js

17 lines
497 B
JavaScript
Raw Normal View History

2015-03-23 22:10:18 +00:00
var chai = require('chai');
var assert = chai.assert;
var web3 = require('../index.js');
2015-03-23 22:10:18 +00:00
var u = require('./helpers/test.utils.js');
2015-03-25 21:22:35 +00:00
describe('web3.shh', function() {
describe('methods', 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');
});
});