web3.js/test/web3.eth.defaultBlock.js

14 lines
352 B
JavaScript
Raw Permalink Normal View History

2015-03-29 21:54:53 +02:00
var chai = require('chai');
var assert = chai.assert;
2015-10-07 04:32:32 +02:00
var Web3 = require('../index');
var web3 = new Web3();
2015-03-29 21:54:53 +02:00
describe('web3.eth', function () {
describe('defaultBlock', function () {
it('should check if defaultBlock is set to proper value', function () {
assert.equal(web3.eth.defaultBlock, 'latest');
});
});
});