2015-01-11 16:54:36 +00:00
|
|
|
var assert = require('assert');
|
|
|
|
var web3 = require('../index.js');
|
2015-02-03 18:48:51 +00:00
|
|
|
var u = require('./test.utils.js');
|
2015-01-11 16:54:36 +00:00
|
|
|
|
|
|
|
describe('web3', function() {
|
|
|
|
describe('shh', function() {
|
2015-01-15 10:38:21 +00:00
|
|
|
u.methodExists(web3.shh, 'post');
|
|
|
|
u.methodExists(web3.shh, 'newIdentity');
|
2015-02-23 17:30:37 +00:00
|
|
|
u.methodExists(web3.shh, 'hasIdentity');
|
2015-01-15 10:38:21 +00:00
|
|
|
u.methodExists(web3.shh, 'newGroup');
|
|
|
|
u.methodExists(web3.shh, 'addToGroup');
|
2015-02-23 17:30:37 +00:00
|
|
|
u.methodExists(web3.shh, 'filter');
|
2015-01-11 16:54:36 +00:00
|
|
|
});
|
|
|
|
});
|
|
|
|
|