You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
575 B
23 lines
575 B
var chai = require('chai');
|
|
var assert = chai.assert;
|
|
var filter = require('../lib/web3/filter');
|
|
var u = require('./helpers/test.utils.js');
|
|
|
|
var empty = function () {};
|
|
var implementation = {
|
|
newFilter: empty,
|
|
getLogs: empty,
|
|
uninstallFilter: empty,
|
|
startPolling: empty,
|
|
stopPolling: empty,
|
|
};
|
|
|
|
describe('web3.eth.filter', function () {
|
|
describe('methods', function () {
|
|
//var f = filter({}, implementation);
|
|
|
|
//u.methodExists(f, 'watch');
|
|
//u.methodExists(f, 'stopWatching');
|
|
//u.methodExists(f, 'get');
|
|
});
|
|
});
|
|
|