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