web3.js/test/web3.eth.filter.methods.js

24 lines
579 B
JavaScript
Raw Normal View History

2015-03-23 22:10:18 +00:00
var chai = require('chai');
var assert = chai.assert;
2015-03-08 17:18:52 +00:00
var filter = require('../lib/web3/filter');
2015-03-23 22:10:18 +00:00
var u = require('./helpers/test.utils.js');
2015-02-05 22:11:16 +00:00
var empty = function () {};
var implementation = {
newFilter: empty,
getLogs: empty,
2015-02-05 22:11:16 +00:00
uninstallFilter: empty,
startPolling: empty,
stopPolling: empty,
};
2015-03-25 22:50:39 +00:00
describe('web3.eth.filter', function () {
describe('methods', function () {
2015-06-24 08:28:12 +00:00
// var f = filter({}, implementation);
2015-02-05 22:11:16 +00:00
2015-06-24 08:28:12 +00:00
// u.methodExists(f, 'watch');
// u.methodExists(f, 'stopWatching');
// u.methodExists(f, 'get');
2015-02-05 22:11:16 +00:00
});
});