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) {
|
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)
|
t.error(err)
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
let gotEntry = 0
|
let gotEntry = 0
|
||||||
console.log('registering searchEntry');
|
|
||||||
|
|
||||||
res.on('searchEntry', function () {
|
res.on('searchEntry', function () {
|
||||||
gotEntry++
|
gotEntry++
|
||||||
})
|
})
|
||||||
res.on('error', function (err) {
|
res.on('error', function (err) {
|
||||||
t.fail(err)
|
t.fail(err)
|
||||||
})
|
})
|
||||||
res.on('end', function () {
|
res.on('end', function () {
|
||||||
|
|
Loading…
Reference in New Issue