@@ -7,10 +7,10 @@ import {
77 setContextMissingStrategy ,
88} from 'aws-xray-sdk-core' ;
99import { afterAll , beforeEach , describe , expect , it , vi } from 'vitest' ;
10- import type { ConfigServiceInterface } from '../../src/types/ConfigServiceInterface.js' ;
11- import type { ProviderServiceInterface } from '../../src/types/ProviderService.js' ;
1210import { Tracer } from './../../src/index.js' ;
11+ import type { ConfigServiceInterface } from '../../src/types/ConfigServiceInterface.js' ;
1312import type { CaptureLambdaHandlerOptions } from './../../src/types/index.js' ;
13+ import type { ProviderServiceInterface } from '../../src/types/ProviderService.js' ;
1414
1515const createCaptureAsyncFuncMock = (
1616 provider : ProviderServiceInterface ,
@@ -1028,7 +1028,7 @@ describe('Class: Tracer', () => {
10281028 ) ;
10291029 setContextMissingStrategy ( ( ) => null ) ;
10301030 vi . spyOn ( tracer . provider , 'captureAsyncFunc' ) . mockImplementation (
1031- async ( methodName , callBackFn ) => {
1031+ async ( _methodName , callBackFn ) => {
10321032 await callBackFn ( handlerSubsegment ) ;
10331033 }
10341034 ) ;
@@ -1419,7 +1419,7 @@ describe('Class: Tracer', () => {
14191419 ) ;
14201420 setContextMissingStrategy ( ( ) => null ) ;
14211421 vi . spyOn ( tracer . provider , 'captureAsyncFunc' ) . mockImplementation (
1422- async ( methodName , callBackFn ) => {
1422+ async ( _methodName , callBackFn ) => {
14231423 await callBackFn ( handlerSubsegment ) ;
14241424 }
14251425 ) ;
0 commit comments