diff --git a/packages/tracer/tests/e2e/allFeatures.decorator.test.functionCode.ts b/packages/tracer/tests/e2e/allFeatures.decorator.test.functionCode.ts index 200782dafa..6522cb3bff 100644 --- a/packages/tracer/tests/e2e/allFeatures.decorator.test.functionCode.ts +++ b/packages/tracer/tests/e2e/allFeatures.decorator.test.functionCode.ts @@ -52,7 +52,7 @@ export class MyFunctionBase { Item: { id: `${serviceName}-${event.invocation}-sdkv2` }, }) .promise(), - axios.get('https://docs.powertools.aws.dev/lambda-typescript/latest/', { + axios.get('https://docs.powertools.aws.dev/lambda/typescript/latest/', { timeout: 5000, }), new Promise((resolve, reject) => { diff --git a/packages/tracer/tests/e2e/allFeatures.manual.test.functionCode.ts b/packages/tracer/tests/e2e/allFeatures.manual.test.functionCode.ts index 4e61825c2c..e878fdee08 100644 --- a/packages/tracer/tests/e2e/allFeatures.manual.test.functionCode.ts +++ b/packages/tracer/tests/e2e/allFeatures.manual.test.functionCode.ts @@ -56,7 +56,7 @@ export const handler = async ( }) .promise(); await axios.get( - 'https://docs.powertools.aws.dev/lambda-typescript/latest/', + 'https://docs.powertools.aws.dev/lambda/typescript/latest/', { timeout: 5000 } ); diff --git a/packages/tracer/tests/e2e/allFeatures.middy.test.functionCode.ts b/packages/tracer/tests/e2e/allFeatures.middy.test.functionCode.ts index 9d4af93e62..1b768052d9 100644 --- a/packages/tracer/tests/e2e/allFeatures.middy.test.functionCode.ts +++ b/packages/tracer/tests/e2e/allFeatures.middy.test.functionCode.ts @@ -46,7 +46,7 @@ const testHandler = async ( }) ); await axios.get( - 'https://docs.powertools.aws.dev/lambda-typescript/latest/', + 'https://docs.powertools.aws.dev/lambda/typescript/latest/', { timeout: 5000 } ); diff --git a/packages/tracer/tests/e2e/asyncHandler.decorator.test.functionCode.ts b/packages/tracer/tests/e2e/asyncHandler.decorator.test.functionCode.ts index ced360f5a5..d4cca85893 100644 --- a/packages/tracer/tests/e2e/asyncHandler.decorator.test.functionCode.ts +++ b/packages/tracer/tests/e2e/asyncHandler.decorator.test.functionCode.ts @@ -56,7 +56,7 @@ export class MyFunctionBase { }) ); await axios.get( - 'https://docs.powertools.aws.dev/lambda-typescript/latest/', + 'https://docs.powertools.aws.dev/lambda/typescript/latest/', { timeout: 5000 } ); @@ -82,9 +82,8 @@ class MyFunctionWithDecorator extends MyFunctionBase { // @ts-ignore public async handler( event: CustomEvent, - _context: Context, - _callback: Callback - ): void | Promise { + _context: Context + ): Promise { return super.handler(event, _context); } @@ -105,9 +104,8 @@ export class MyFunctionWithDecoratorAndCustomNamedSubSegmentForMethod extends My // @ts-ignore public async handler( event: CustomEvent, - _context: Context, - _callback: Callback - ): void | Promise { + _context: Context + ): Promise { return super.handler(event, _context); }