Skip to content

tests(tracer): update docs url for e2e tests #1559

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
);

Expand All @@ -82,9 +82,8 @@ class MyFunctionWithDecorator extends MyFunctionBase {
// @ts-ignore
public async handler(
event: CustomEvent,
_context: Context,
_callback: Callback<unknown>
): void | Promise<unknown> {
_context: Context
): Promise<unknown> {
return super.handler(event, _context);
}

Expand All @@ -105,9 +104,8 @@ export class MyFunctionWithDecoratorAndCustomNamedSubSegmentForMethod extends My
// @ts-ignore
public async handler(
event: CustomEvent,
_context: Context,
_callback: Callback<unknown>
): void | Promise<unknown> {
_context: Context
): Promise<unknown> {
return super.handler(event, _context);
}

Expand Down