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.
24 lines
575 B
24 lines
575 B
10 years ago
|
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');
|
||
|
});
|
||
|
});
|