@@ -42,7 +42,7 @@ test('client-side abort below error threshold - call end', { timeout: 10000 }, f
4242
4343 t . strictEqual ( agent . _apmClient . _writes . length , 0 , 'should not have any samples to begin with' )
4444
45- agent . captureError = function ( err , opts ) { // eslint-disable-line handle-callback-err
45+ agent . captureError = function ( err , opts ) { // eslint-disable-line node/ handle-callback-err
4646 t . fail ( 'should not register the closed socket as an error' )
4747 }
4848 agent . _instrumentation . addEndedTransaction = function ( ) {
@@ -144,7 +144,7 @@ test('client-side abort below error threshold - don\'t call end', function (t) {
144144
145145 t . strictEqual ( agent . _apmClient . _writes . length , 0 , 'should not have any samples to begin with' )
146146
147- agent . captureError = function ( err , opts ) { // eslint-disable-line handle-callback-err
147+ agent . captureError = function ( err , opts ) { // eslint-disable-line node/ handle-callback-err
148148 t . fail ( 'should not register the closed socket as an error' )
149149 }
150150 agent . _instrumentation . addEndedTransaction = function ( ) {
@@ -222,7 +222,7 @@ test('server-side abort below error threshold and socket closed - call end', fun
222222
223223 t . strictEqual ( agent . _apmClient . _writes . length , 0 , 'should not have any samples to begin with' )
224224
225- agent . captureError = function ( err , opts ) { // eslint-disable-line handle-callback-err
225+ agent . captureError = function ( err , opts ) { // eslint-disable-line node/ handle-callback-err
226226 t . fail ( 'should not register the closed socket as an error' )
227227 }
228228 agent . _instrumentation . addEndedTransaction = function ( ) {
@@ -311,7 +311,7 @@ test('server-side abort below error threshold and socket closed - don\'t call en
311311
312312 t . strictEqual ( agent . _apmClient . _writes . length , 0 , 'should not have any samples to begin with' )
313313
314- agent . captureError = function ( err , opts ) { // eslint-disable-line handle-callback-err
314+ agent . captureError = function ( err , opts ) { // eslint-disable-line node/ handle-callback-err
315315 t . fail ( 'should not register the closed socket as an error' )
316316 }
317317 agent . _instrumentation . addEndedTransaction = function ( ) {
@@ -391,7 +391,7 @@ test('server-side abort below error threshold but socket not closed - call end',
391391
392392 t . strictEqual ( agent . _apmClient . _writes . length , 0 , 'should not have any samples to begin with' )
393393
394- agent . captureError = function ( err , opts ) { // eslint-disable-line handle-callback-err
394+ agent . captureError = function ( err , opts ) { // eslint-disable-line node/ handle-callback-err
395395 t . fail ( 'should not register the closed socket as an error' )
396396 }
397397 agent . _instrumentation . addEndedTransaction = addEndedTransaction
@@ -429,7 +429,7 @@ test('server-side abort above error threshold but socket not closed - call end',
429429
430430 t . strictEqual ( agent . _apmClient . _writes . length , 0 , 'should not have any samples to begin with' )
431431
432- agent . captureError = function ( err , opts ) { // eslint-disable-line handle-callback-err
432+ agent . captureError = function ( err , opts ) { // eslint-disable-line node/ handle-callback-err
433433 t . fail ( 'should not register the closed socket as an error' )
434434 }
435435 agent . _instrumentation . addEndedTransaction = addEndedTransaction
0 commit comments