aboutsummaryrefslogtreecommitdiffstats
path: root/test/shh.methods.js
blob: 2e7e1387b94fe9a94c38bb06bd86801569975e78 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require('es6-promise').polyfill();

var assert = require('assert');
var web3 = require('../index.js');
var u = require('./utils.js');

describe('web3', function() {
    describe('shh', function() {
        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');
    });
});