web3.js/test/eth.defaultBlock.js

15 lines
357 B
JavaScript
Raw Normal View History

2015-03-29 21:54:53 +02:00
var chai = require('chai');
var assert = chai.assert;
var Eth = require('../packages/web3-eth');
var eth = new Eth();
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(eth.defaultBlock, 'latest');
2015-03-29 21:54:53 +02:00
});
});
});