Run lint.
Signed-off-by: Philippe Seewer <philippe.seewer@bfh.ch>
This commit is contained in:
parent
e07656b233
commit
d064b359d3
|
@ -900,16 +900,14 @@ tap.test('search paged', { timeout: 10000 }, function (t) {
|
|||
})
|
||||
|
||||
tap.test('paged - search with delayed event listener binding', function (t) {
|
||||
t.context.client.search('cn=paged', { filter: '(objectclass=*)', paged : true }, function (err, res) {
|
||||
t.context.client.search('cn=paged', { filter: '(objectclass=*)', paged: true }, function (err, res) {
|
||||
t.error(err)
|
||||
setTimeout(() => {
|
||||
let gotEntry = 0
|
||||
console.log('registering searchEntry');
|
||||
|
||||
let gotEntry = 0
|
||||
res.on('searchEntry', function () {
|
||||
gotEntry++
|
||||
})
|
||||
res.on('error', function (err) {
|
||||
res.on('error', function (err) {
|
||||
t.fail(err)
|
||||
})
|
||||
res.on('end', function () {
|
||||
|
|
Loading…
Reference in New Issue