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

13 lines
329 B
JavaScript
Raw Normal View History

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