Run lint.

Signed-off-by: Philippe Seewer <philippe.seewer@bfh.ch>
This commit is contained in:
Philippe Seewer 2021-05-07 15:50:02 +02:00
parent e07656b233
commit d064b359d3
1 changed files with 3 additions and 5 deletions

View File

@ -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 () {