mirror of https://github.com/status-im/web3.js.git
renamed few more tests
This commit is contained in:
parent
cbf8ea19cd
commit
a1ec1493f9
|
@ -11,7 +11,7 @@ var tests = [{
|
|||
call: 'net_'+ method
|
||||
}];
|
||||
|
||||
describe('net', function () {
|
||||
describe('web3.net', function () {
|
||||
describe(method, function () {
|
||||
tests.forEach(function (test, index) {
|
||||
it('property test: ' + index, function () {
|
|
@ -3,8 +3,8 @@ var assert = chai.assert;
|
|||
var web3 = require('../index.js');
|
||||
var u = require('./helpers/test.utils.js');
|
||||
|
||||
describe('web3', function() {
|
||||
describe('net', function() {
|
||||
describe('web3.net', function() {
|
||||
describe('methods', function() {
|
||||
u.propertyExists(web3.net, 'listening');
|
||||
u.propertyExists(web3.net, 'peerCount');
|
||||
});
|
|
@ -11,7 +11,7 @@ var tests = [{
|
|||
call: 'net_'+ method
|
||||
}];
|
||||
|
||||
describe('net', function () {
|
||||
describe('web3.net', function () {
|
||||
describe(method, function () {
|
||||
tests.forEach(function (test, index) {
|
||||
it('property test: ' + index, function () {
|
|
@ -3,8 +3,8 @@ var assert = chai.assert;
|
|||
var web3 = require('../index.js');
|
||||
var u = require('./helpers/test.utils.js');
|
||||
|
||||
describe('web3', function() {
|
||||
describe('shh', function() {
|
||||
describe('web3.shh', function() {
|
||||
describe('methods', function() {
|
||||
u.methodExists(web3.shh, 'post');
|
||||
u.methodExists(web3.shh, 'newIdentity');
|
||||
u.methodExists(web3.shh, 'hasIdentity');
|
Loading…
Reference in New Issue